deploy nmstate operator
This commit is contained in:
9
cluster/nmstate/overlays/hub/kustomization.yaml
Normal file
9
cluster/nmstate/overlays/hub/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
commonAnnotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
#- ocp-storage-vlan.yaml
|
||||
39
cluster/nmstate/overlays/hub/ocp-storage-vlan.yaml
Normal file
39
cluster/nmstate/overlays/hub/ocp-storage-vlan.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
apiVersion: nmstate.io/v1
|
||||
kind: NodeNetworkConfigurationPolicy
|
||||
metadata:
|
||||
name: vlan121-localnet
|
||||
spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: ocp-hub
|
||||
|
||||
desiredState:
|
||||
ovn:
|
||||
bridge-mappings:
|
||||
- localnet: vlan121-net
|
||||
bridge: br-ex
|
||||
vlan-id: 121
|
||||
ip-address:
|
||||
- ip: 10.10.121.10
|
||||
prefix-length: 24
|
||||
state: present
|
||||
|
||||
# interfaces:
|
||||
# - name: enp1s0.121
|
||||
# state: up
|
||||
# type: vlan
|
||||
# vlan:
|
||||
# base-iface: enp1s0
|
||||
# id: 121
|
||||
# - bridge:
|
||||
# port:
|
||||
# - name: enp1s0.121
|
||||
# ipv4:
|
||||
# address:
|
||||
# - ip: 10.10.121.10
|
||||
# prefix-length: 24
|
||||
# enabled: true
|
||||
# name: storage-network
|
||||
# state: up
|
||||
# type: linux-bridge
|
||||
# description: Linux bridge with enp1s0 as a port on VLAN 121
|
||||
Reference in New Issue
Block a user