Kubernetes Tutorials
This is a set of tutorials that describes how to use hubctl to deploy a stack on existing Kubernetes cluster.
In This Tutorial
This tutorials covers the following topics:
- How to install and use Rancher Desktop Kubernetes
- How to use hubctl to deploy a stack on existing Kubernetes cluster
Install Rancher Desktop
Rancher Desktop is an app that provides container management and Kubernetes on the desktop. It is available for Mac (both on Intel and Apple Silicon), Windows, and Linux. You can read the full documentation about Rancher Desktop here.
An open-source desktop application for Mac, Windows and Linux. Rancher Desktop runs Kubernetes and container management on your desktop. You can choose the version of Kubernetes you want to run. Each component knows how to deploy itself and export facts about deployment configuration in the well-known form of parameters. So other component would use this as an input.
How to install and configure Rancher Desktop on Windows OS:
- Open link with Rancher Desktop documentation
- You need to upgrate WSL2 version on your computer. Manual installation steps
- Install Ubuntu
- Download and install Rancher Desktop https://rancherdesktop.io/
- Check your Rancher Desktop settings "Preferences"-> WSL. WSL has to a checkbox with Ubuntu.
-
Open Windows PowerShell as Administration and run
Rancher-desktop and Ubuntu have to "Running" states. -
Open Ubuntu terminal and run commands
- Check the version of the docker
You have to see all containers related to rancher-desktop kubernetes.
And if you have a message "Got permission denied while trying to connect to the Docker ..."
something needs to be done so $USER always runs in group
docker
on theUbuntu
WSL
Ubuntu terminal
and run commands
How to use hubctl to deploy a stack on existing Kubernetes cluster: 1. Run the commands and test your Rancher Desktop Kubernetes:
2. To run hubctl the use following commands: How to install hubctl on your local workstation you can find here