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:
|
||||
|
@ -48,3 +48,16 @@ rules:
|
||||
- events
|
||||
verbs:
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user