Worker node join configuration file reference

A YAML file can be supplied to the k8s join-cluster command to configure and customize new worker nodes.

This reference section provides all available options for worker nodes.

Configuration options

kubelet-crt

Type: string

The certificate to be used for the kubelet. If omitted defaults to an auto generated certificate.

kubelet-key

Type: string

The key to be used for the kubelet. If omitted defaults to an auto generated key.

kubelet-client-crt

Type: string

The client certificate to be used for the kubelet. If omitted defaults to an auto generated certificate.

kubelet-client-key

Type: string

The client key to be used for the kubelet. If omitted defaults to an auto generated key.

kube-proxy-client-crt

Type: string

The client certificate to be used for the kube-proxy. If omitted defaults to an auto generated certificate.

kube-proxy-client-key

Type: string

The client key to be used for the kube-proxy. If omitted defaults to an auto generated key.

extra-node-config-files

Type: map[string]string

Additional files that are uploaded /var/snap/k8s/common/args/conf.d/<filename> to a node on bootstrap. These files can then be referenced by Kubernetes service arguments.

The format is map[<filename>]<filecontent>.

extra-node-kube-proxy-args

Type: map[string]string

Additional arguments that are passed to the kube-proxy only for that specific node. A parameter that is explicitly set to null is deleted. The format is map[<--flag-name>]<value>.

extra-node-kubelet-args

Type: map[string]string

Additional arguments that are passed to the kubelet only for that specific node. A parameter that is explicitly set to null is deleted. The format is map[<--flag-name>]<value>.

extra-node-containerd-args

Type: map[string]string

Additional arguments that are passed to containerd only for that specific node. A parameter that is explicitly set to null is deleted. The format is map[<--flag-name>]<value>.

extra-node-k8s-apiserver-proxy-args

Type: map[string]string

Additional arguments that are passed to k8s-api-server-proxy only for that specific node. A parameter that is explicitly set to null is deleted. The format is map[<--flag-name>]<value>.

extra-node-containerd-config

Type: apiv1.MapStringAny

Extra configuration for the containerd config.toml