Add-ons
This document provides information on provisioning the K3k cluster uisng the add-ons feature.
| Name the secret key with '.yaml' extension to be picked up by K3s. |
K3k cluster creation using Add-ons
-
Install the K3k controller chart. For more information, see Install the K3k controller.
-
Create a secret key:
ExampleapiVersion: v1 kind: Secret metadata: name: rancher-init namespace: default stringData: manifests.yaml: |- apiVersion: v1 kind: Namespace metadata: name: cattle-system -
Create the K3k cluster using the
add-ons:ExampleapiVersion: k3k.io/v1beta1 kind: Cluster metadata: name: rancher-k3k namespace: rancher-k3k-system spec: mode: shared persistence: type: ephemeral addons: - secretRef: rancher-init secretNamespace: default