2021-01-18 10:21:48 +08:00
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
2019-07-23 13:28:46 +08:00
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
name: ips.kubeovn.io
|
|
|
|
spec:
|
|
|
|
group: kubeovn.io
|
2021-01-18 10:21:48 +08:00
|
|
|
versions:
|
|
|
|
- name: v1
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
additionalPrinterColumns:
|
|
|
|
- name: IP
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.ipAddress
|
|
|
|
- name: Mac
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.macAddress
|
|
|
|
- name: Node
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.nodeName
|
|
|
|
- name: Subnet
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.subnet
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
spec:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
podName:
|
|
|
|
type: string
|
|
|
|
namespace:
|
|
|
|
type: string
|
|
|
|
subnet:
|
|
|
|
type: string
|
|
|
|
attachSubnets:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
nodeName:
|
|
|
|
type: string
|
|
|
|
ipAddress:
|
|
|
|
type: string
|
|
|
|
attachIps:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
macAddress:
|
|
|
|
type: string
|
|
|
|
attachMacs:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
containerID:
|
|
|
|
type: string
|
2019-07-23 13:28:46 +08:00
|
|
|
scope: Cluster
|
|
|
|
names:
|
|
|
|
plural: ips
|
|
|
|
singular: ip
|
|
|
|
kind: IP
|
|
|
|
shortNames:
|
|
|
|
- ip
|
|
|
|
---
|
2021-01-18 10:21:48 +08:00
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
2019-07-23 13:28:46 +08:00
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
name: subnets.kubeovn.io
|
|
|
|
spec:
|
|
|
|
group: kubeovn.io
|
2021-01-18 10:21:48 +08:00
|
|
|
versions:
|
|
|
|
- name: v1
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
subresources:
|
|
|
|
status: {}
|
|
|
|
additionalPrinterColumns:
|
|
|
|
- name: Provider
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.provider
|
|
|
|
- name: Protocol
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.protocol
|
|
|
|
- name: CIDR
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.cidrBlock
|
|
|
|
- name: Private
|
|
|
|
type: boolean
|
|
|
|
jsonPath: .spec.private
|
|
|
|
- name: NAT
|
|
|
|
type: boolean
|
|
|
|
jsonPath: .spec.natOutgoing
|
|
|
|
- name: Default
|
|
|
|
type: boolean
|
|
|
|
jsonPath: .spec.default
|
|
|
|
- name: GatewayType
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.gatewayType
|
|
|
|
- name: Used
|
|
|
|
type: number
|
|
|
|
jsonPath: .status.usingIPs
|
|
|
|
- name: Available
|
|
|
|
type: number
|
|
|
|
jsonPath: .status.availableIPs
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
status:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
availableIPs:
|
|
|
|
type: number
|
|
|
|
usingIPs:
|
|
|
|
type: number
|
|
|
|
activateGateway:
|
|
|
|
type: string
|
|
|
|
conditions:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
type:
|
|
|
|
type: string
|
|
|
|
status:
|
|
|
|
type: string
|
|
|
|
reason:
|
|
|
|
type: string
|
|
|
|
message:
|
|
|
|
type: string
|
|
|
|
lastUpdateTime:
|
|
|
|
type: string
|
|
|
|
lastTransitionTime:
|
|
|
|
type: string
|
|
|
|
spec:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
default:
|
|
|
|
type: boolean
|
|
|
|
protocol:
|
|
|
|
type: string
|
|
|
|
cidrBlock:
|
|
|
|
type: string
|
|
|
|
namespaces:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
gateway:
|
|
|
|
type: string
|
|
|
|
provider:
|
|
|
|
type: string
|
|
|
|
excludeIps:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
gatewayType:
|
|
|
|
type: string
|
|
|
|
allowSubnets:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
gatewayNode:
|
|
|
|
type: string
|
|
|
|
natOutgoing:
|
|
|
|
type: boolean
|
|
|
|
private:
|
|
|
|
type: boolean
|
|
|
|
vlan:
|
|
|
|
type: string
|
|
|
|
underlayGateway:
|
|
|
|
type: boolean
|
|
|
|
disableInterConnection:
|
|
|
|
type: boolean
|
2019-07-23 13:28:46 +08:00
|
|
|
scope: Cluster
|
|
|
|
names:
|
|
|
|
plural: subnets
|
|
|
|
singular: subnet
|
|
|
|
kind: Subnet
|
|
|
|
shortNames:
|
|
|
|
- subnet
|
2021-01-18 10:21:48 +08:00
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
name: vlans.kubeovn.io
|
|
|
|
spec:
|
|
|
|
group: kubeovn.io
|
|
|
|
versions:
|
|
|
|
- name: v1
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
|
|
|
type: object
|
2019-07-23 13:28:46 +08:00
|
|
|
properties:
|
2021-01-18 10:21:48 +08:00
|
|
|
spec:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
vlanId:
|
|
|
|
type: integer
|
|
|
|
providerInterfaceName:
|
|
|
|
type: string
|
|
|
|
logicalInterfaceName:
|
|
|
|
type: string
|
|
|
|
subnet:
|
|
|
|
type: string
|
|
|
|
additionalPrinterColumns:
|
|
|
|
- name: VlanID
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.vlanId
|
|
|
|
- name: ProviderInterfaceName
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.providerInterfaceName
|
|
|
|
- name: Subnet
|
|
|
|
type: string
|
|
|
|
jsonPath: .spec.subnet
|
|
|
|
scope: Cluster
|
|
|
|
names:
|
|
|
|
plural: vlans
|
|
|
|
singular: vlan
|
|
|
|
kind: Vlan
|
|
|
|
shortNames:
|
|
|
|
- vlan
|