We administrate all our operations through the use of kubectl
.
Read up on the following materials,
kubectl
Installation Guide
To access the K8s cluster, you will need to have a k3s.yaml
credential file. It can be obtained by ssh into the master
node of the cluster, under the directory /etc/rancher/k3s/k3s.yaml
.
Once you have obtained the k3s.yaml
file, make the following modification,
After the modification, this file is ready for use. Update your shell to always use this file,
To confirm it working,
Notice that -n clouddesktop-prod
refers to the clouddesktop-prod k8s namespace