221 lines
5.4 KiB
Django/Jinja
221 lines
5.4 KiB
Django/Jinja
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: ips.kubeovn.io
|
|
spec:
|
|
group: kubeovn.io
|
|
versions:
|
|
- name: v1
|
|
served: true
|
|
storage: true
|
|
additionalPrinterColumns:
|
|
- name: Provider
|
|
type: string
|
|
jsonPath: .spec.provider
|
|
- 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
|
|
scope: Cluster
|
|
names:
|
|
plural: ips
|
|
singular: ip
|
|
kind: IP
|
|
shortNames:
|
|
- ip
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: subnets.kubeovn.io
|
|
spec:
|
|
group: kubeovn.io
|
|
versions:
|
|
- name: v1
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|
|
additionalPrinterColumns:
|
|
- 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
|
|
scope: Cluster
|
|
names:
|
|
plural: subnets
|
|
singular: subnet
|
|
kind: Subnet
|
|
shortNames:
|
|
- subnet
|
|
---
|
|
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
|
|
properties:
|
|
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
|