4 apiVersion: apiextensions.k8s.io/v1beta1
5 kind: CustomResourceDefinition
7 name: networks.k8s.plugin.opnfv.org
9 group: k8s.plugin.opnfv.org
22 description: 'APIVersion defines the versioned schema of this representation
23 of an object. Servers should convert recognized schemas to the latest
24 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
27 description: 'Kind is a string value representing the REST resource this
28 object represents. Servers may infer this from the endpoint the client
29 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
36 description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
37 Important: Run "operator-sdk generate k8s" to regenerate code after
38 modifying this file Add custom validation using kubebuilder tags:
39 https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
108 description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
109 of cluster Important: Run "operator-sdk generate k8s" to regenerate
110 code after modifying this file Add custom validation using kubebuilder
111 tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
124 apiVersion: apiextensions.k8s.io/v1beta1
125 kind: CustomResourceDefinition
127 name: providernetworks.k8s.plugin.opnfv.org
129 group: k8s.plugin.opnfv.org
131 kind: ProviderNetwork
132 listKind: ProviderNetworkList
133 plural: providernetworks
134 singular: providernetwork
140 description: ProviderNetwork is the Schema for the providernetworks API
143 description: 'APIVersion defines the versioned schema of this representation
144 of an object. Servers should convert recognized schemas to the latest
145 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
148 description: 'Kind is a string value representing the REST resource this
149 object represents. Servers may infer this from the endpoint the client
150 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
155 description: ProviderNetworkSpec defines the desired state of ProviderNetwork
158 description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
159 Important: Run "operator-sdk generate k8s" to regenerate code after
160 modifying this file Add custom validation using kubebuilder tags:
161 https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
171 providerInterfaceName:
175 - providerInterfaceName
241 logicalInterfaceName:
247 providerInterfaceName:
254 - providerInterfaceName
264 description: ProviderNetworkStatus defines the observed state of ProviderNetwork
267 description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
268 of cluster Important: Run "operator-sdk generate k8s" to regenerate
269 code after modifying this file Add custom validation using kubebuilder
270 tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html'
287 namespace: kube-system
290 apiVersion: rbac.authorization.k8s.io/v1
293 creationTimestamp: null
303 - persistentvolumeclaims
320 - monitoring.coreos.com
331 - deployments/finalizers
335 - k8s.plugin.opnfv.org
344 kind: ClusterRoleBinding
345 apiVersion: rbac.authorization.k8s.io/v1
350 name: system:serviceaccounts
351 apiGroup: rbac.authorization.k8s.io
355 apiGroup: rbac.authorization.k8s.io
364 namespace: kube-system
380 name: ovn-controller-network
381 namespace: kube-system
383 OVN_SUBNET: "10.244.64.0/18"
384 OVN_GATEWAYIP: "10.244.64.20/18"
385 OVN_EXCLUDEIPS: "10.244.64.0..10.244.64.16"
394 namespace: kube-system
408 requiredDuringSchedulingIgnoredDuringExecution:
411 - key: ovn4nfv-k8s-plugin
416 - key: "node-role.kubernetes.io/master"
419 serviceAccountName: k8s-nfn-sa
422 image: integratedcloudnative/ovn4nfv-k8s-plugin:master
423 command: ["/usr/local/bin/entrypoint", "operator"]
424 imagePullPolicy: IfNotPresent
427 name: ovn-controller-network
429 - containerPort: 50000
435 fieldPath: metadata.name
436 - name: OPERATOR_NAME
437 value: "nfn-operator"
443 name: ovn4nfv-cni-config
444 namespace: kube-system
451 logfile=/var/log/openvswitch/ovn4k8s.log
454 conf-dir=/etc/cni/net.d
455 plugin=ovn4nfvk8s-cni
458 kubeconfig=/etc/cni/net.d/ovn4nfv-k8s.d/ovn4nfv-k8s.kubeconfig
461 "name": "ovn4nfv-k8s-plugin",
462 "type": "ovn4nfvk8s-cni",
463 "cniVersion": "0.3.1"
467 apiVersion: extensions/v1beta1
471 namespace: kube-system
484 beta.kubernetes.io/arch: amd64
488 serviceAccountName: k8s-nfn-sa
491 image: integratedcloudnative/ovn4nfv-k8s-plugin:master
492 command: ["/usr/local/bin/entrypoint", "cni"]
493 imagePullPolicy: IfNotPresent
505 mountPath: /host/etc/cni/net.d
507 mountPath: /host/opt/cni/bin
509 mountPath: /host/etc/openvswitch
511 mountPath: /tmp/ovn4nfv-conf
512 - name: ovn4nfv-cni-net-conf
513 mountPath: /tmp/ovn4nfv-cni
523 path: /etc/openvswitch
526 name: ovn4nfv-cni-config
528 - key: ovn4nfv_k8s.conf
529 path: ovn4nfv_k8s.conf
530 - name: ovn4nfv-cni-net-conf
532 name: ovn4nfv-cni-config
534 - key: 00-network.conf
535 path: 00-network.conf
537 apiVersion: extensions/v1beta1
541 namespace: kube-system
555 beta.kubernetes.io/arch: amd64
559 serviceAccountName: k8s-nfn-sa
562 image: integratedcloudnative/ovn4nfv-k8s-plugin:master
563 command: ["/usr/local/bin/entrypoint", "agent"]
572 - name: NFN_NODE_NAME
575 fieldPath: spec.nodeName
579 add: ["NET_ADMIN", "SYS_ADMIN", "SYS_PTRACE"]
582 - mountPath: /var/run/dbus/
583 name: host-var-run-dbus
585 - mountPath: /run/openvswitch
587 - mountPath: /var/run/openvswitch
588 name: host-var-run-ovs
589 - mountPath: /var/run/ovn4nfv-k8s-plugin
590 name: host-var-cniserver-socket-dir
594 path: /run/openvswitch
595 - name: host-var-run-ovs
597 path: /var/run/openvswitch
598 - name: host-var-run-dbus
601 - name: host-var-cniserver-socket-dir
603 path: /var/run/ovn4nfv-k8s-plugin