ViNO: Integrate Node Labeler
ViNO will need to be able to get information about the physical hosts and label the nodes appropriately. The target of this change is to add the VM Bridge Interface IP address as a label. Change-Id: I3bf9aeda5ec1d94c72906ce7011043decf5a3ec8
This commit is contained in:
parent
03dfc5ce8b
commit
eee4564441
@ -134,7 +134,9 @@ kube-system kube-scheduler-ubuntu-virtualbox 1/1 Running 0
|
||||
kube-system storage-provisioner 1/1 Running 0 3h8m
|
||||
vino-system vino-controller-manager-788b994c74-sbf26 2/2 Running 0 25m
|
||||
```
|
||||
|
||||
#### Configure the VM Bridge Interface
|
||||
To configure the bare metal networking interface that should be used for the VM Bridge,
|
||||
please specify it in your vino CR at field spec.networks.vmInterfaceName
|
||||
#### Test basic functionality
|
||||
|
||||
```
|
||||
|
@ -51,6 +51,14 @@ spec:
|
||||
volumeMounts:
|
||||
- name: var-run-libvirt
|
||||
mountPath: /var/run/libvirt
|
||||
- name: labeler
|
||||
image: quay.io/airshipit/nodelabeler
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: NODE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
volumes:
|
||||
- name: libmodules
|
||||
hostPath:
|
||||
|
@ -47,4 +47,17 @@ rules:
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- create
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- nodes
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
|
@ -11,3 +11,5 @@ spec:
|
||||
cpuExclude: 0-4,54-60
|
||||
redfishCredentialSecret:
|
||||
name: redfishSecret
|
||||
networks:
|
||||
vmInterfaceName: lo
|
||||
|
@ -15,4 +15,4 @@ until [[ $(kubectl -n vino-system get deployment -l control-plane=controller-man
|
||||
fi
|
||||
sleep 2
|
||||
done
|
||||
kubectl -n vino-system rollout status deployment vino-controller-manager --timeout=240s
|
||||
kubectl -n vino-system rollout status deployment vino-controller-manager --timeout=240s
|
||||
|
Loading…
Reference in New Issue
Block a user