Kubernetes

  • Windows
  • macOS
  • Linux

Kubernetes - 图1

Kubernetes - 图2

Kubernetes - 图3

Enable Kubernetes

This option allows you to enable or disable Kubernetes. By disabling Kubernetes, you can run just containerd or dockerd by itself for reduced resource consumption. By default, Kubernetes is enabled.

To enable/disable Kubernetes, just check/uncheck the Enable Kubernetes checkbox. The app will be restarted when you enable/disable Kubernetes. Disabling Kubernetes will not delete existing resources and they will be available again when you enable Kubernetes again.

Kubernetes Version

This option presents a list of Kubernetes versions that your Rancher Desktop instance can use.

When upgrading:

  • A check is performed to see if the target Kubernetes version is available locally. If not, it downloads the files.
  • Workloads are retained.
  • Images are retained.

When downgrading:

  • Workloads are removed.
  • Images are retained.

To switch versions:

  1. Click the Kubernetes version drop-down menu.
  2. Select the version you want to change to.

Kubernetes Port

Set the port Kubernetes is exposed on. Use this setting to avoid port collisions if multiple instances of K3s are running.

Options

Enable Traefik

This option allows you to enable or disable Traefik. By disabling Traefik, you can free up port 80 and 443 for alternate ingress configuration. By default, Traefik is enabled.

Disabling Traefik will not delete existing resources.

Install Spin Operator

Kubernetes - 图4warning

This is an experimental setting.

This option will install the spinkube operator with the cert-manager prerequisite, and configure it with the spin RuntimeClass.

This option requires that the WebAssembly support is enabled.

Kubernetes - 图5note

Rancher Desktop automatically installs the spin cli and the kube plugin to help develop and deploy Spin applications on Kubernetes.