Control plane node join configuration file reference

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

This reference section provides all available options for control plane nodes.

Configuration options

extra-sans

Type: []string

List of extra SANs to be added to certificates.

front-proxy-client-crt

Type: string

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

front-proxy-client-key

Type: string

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

kube-proxy-client-crt

Type: string

The client certificate to be used by kubelet for communicating with the kube-apiserver. If omitted defaults to an auto generated certificate.

kube-proxy-client-key

Type: string

The client key to be used by kubelet for communicating with the kube-apiserver. If omitted defaults to an auto generated key.

kube-scheduler-client-crt

Type: string

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

kube-scheduler-client-key

Type: string

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

kube-controller-manager-client-crt

Type: string

The client certificate to be used for the Kubernetes controller manager. If omitted defaults to an auto generated certificate.

kube-controller-manager-client-key

Type: string

The client key to be used for the Kubernetes controller manager. If omitted defaults to an auto generated key.

apiserver-crt

Type: string

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

apiserver-key

Type: string

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

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.

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-apiserver-args

Type: map[string]string

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

extra-node-kube-controller-manager-args

Type: map[string]string

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

extra-node-kube-scheduler-args

Type: map[string]string

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

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-dqlite-args

Type: map[string]string

Additional arguments that are passed to k8s-dqlite 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