diff --git a/content/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke2/_index.md b/content/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke2/_index.md index 6a5e434f734..3980c5b52d5 100644 --- a/content/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke2/_index.md +++ b/content/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke2/_index.md @@ -26,7 +26,14 @@ If you do not specify a pre-shared secret, RKE2 will generate one and place it a To avoid certificate errors with the fixed registration address, you should launch the server with the tls-san parameter set. This option adds an additional hostname or IP as a Subject Alternative Name in the server's TLS cert, and it can be specified as a list if you would like to access via both the IP and the hostname. -Create the RKE2 config file at `/etc/rancher/rke2/config.yaml` using the following example: +First, you must configure the path to enable the rke2-agent service as follows: + +``` +mkdir -p /etc/rancher/rke2/ +vim /etc/rancher/rke2/config.yaml +``` + +Next, create the RKE2 config file at `/etc/rancher/rke2/config.yaml` using the following example: ``` token: my-shared-secret