
This patchset updates docs to doc to align with OpenStack standard. Follow-up patchset will be needed to publish documentation to OpenStack [0]. [0] https://docs.openstack.org/doc-contrib-guide/project-guides.html Change-Id: I0f2346801bc3749e74fcc3104cc2258626747185
1.3 KiB
1.3 KiB
Kubernetes Node
Configuration for a basic node in the cluster.
Sample Document
Here is a sample document:
schema: promenade/KubernetesNode/v1
metadata:
schema: metadata/Document/v1
name: n1
layeringDefinition:
abstract: false
layer: site
data:
hostname: n1
ip: 192.168.77.11
join_ip: 192.168.77.10
labels:
static:
- node-role.kubernetes.io/master=
dynamic:
- calico-etcd=enabled
- kubernetes-apiserver=enabled
- kubernetes-controller-manager=enabled
- kubernetes-etcd=enabled
- kubernetes-scheduler=enabled
- ucp-control-plane=enabled
Host Information
Essential host-specific information is specified in this document,
including the hostname
, ip
, and
join_ip
.
The join_ip
is used to specify which host should be used
when adding a node to the cluster.
Labels
Kubernetes labels can be specified under the labels
key
in two ways:
- Via the
static
key, which is a list of labels to be applied immediately when thekubelet
process starts. - Via the
dynamic
key, which is a list of labels to be applied after the node is marked as Ready by Kubernetes.