puppet/kubernetes in the get_host_config will calculate the labels and stores them to disk on each host.
This should then be accessible in the hiera data file under: /opt/platform/puppet/19.09/hieradata/<yaml file for this host>
Example syntax: platform::kubernetes::params::host_labels: - !!python/unicode 'openstack-control-plane'
All platforms will have it located under: /tmp/puppet/hieradata/host.yaml
and that file is recreated when rebooted.
ex syntax on hardware: platform::kubernetes::params::host_labels: - !!python/unicode 'sriovdp' - !!python/unicode 'openvswitch'
puppet/kubernetes in the get_host_config will calculate the labels and stores them to disk on each host.
This should then be accessible in the hiera data file under: puppet/ 19.09/hieradata /<yaml file for this host>
/opt/platform/
Example syntax: :kubernetes: :params: :host_labels: control- plane'
platform:
- !!python/unicode 'openstack-
All platforms will have it located under: hieradata/ host.yaml
/tmp/puppet/
and that file is recreated when rebooted.
ex syntax on hardware: :kubernetes: :params: :host_labels:
platform:
- !!python/unicode 'sriovdp'
- !!python/unicode 'openvswitch'