Install YaK on Rancher Desktop

YaK may be locally installed using Rancher Desktop (for testing or development purpose from a workstation for example). We do not recommend using this setup for production.

Prereq: Install Rancher desktop

https://docs.rancherdesktop.io/getting-started/installation

Install YaK

1. Go to Cluster Dashboard

2. Create your own yak namespace

  • Go to Cluster/Namespace:

  • Create new namespace:

We usually simply use "yak4all" as namespace, but feel free to be creative 😄

3. Add repository

Now from your terminal:

4. Create your "yak.values.yaml" file

  • Replace "<your_hostname>.<your_domain>" in the yaml file with your actual hostname

    • ex : yak.my-domain.com

  • Replace "<your_storage_class>"in the yaml file with your actual storage class name

    • It will use the default storage class if left empty

    • You can list your storage classes using kubectl get sc if needed.

  • Replace "<your_ingress_class>" in the yaml file with your actual ingress class name

  • Save the file as "yak.values.yaml"

5. Create your TLS secret

Optionally, for testing purpose, you can generate a self signed certificate with the following command.

For the Ingress TLS configuration, use your certificate and create the following Kubernetes secret.

6. Install YaK

7. Check that YaK is properly deployed

  • Go to Workload/Pods, you should see 4 running pods:

8. Connect to the YaK with https

  • https://<your_hostname>.<your_domain>

  • Default credentials :

    • Login: admin

    • Password: ABCdef1234@

If using Rancher Desktop for a local installation of your YaK (on a laptop and for testing purpose for example), you may need to update your hosts file (/etc/hosts) and add this line:

Last updated