# Installation Guide for Kubernetes Cluster #### Quick install for kubernetes cluster for worker node ```shell curl -s -L https://raw.githubusercontent.com/sombochea/kubernetes-installation/main/kube-cluster-worker-install.sh | sudo bash ``` ### 1. Download kubectl ```shell curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" ``` ### 2. Validate kubectl ```shell curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256" echo "$(/dev/null | \ openssl dgst -sha256 -hex | sed 's/^.* //' ``` #### Fix Helm Kube Config ```text WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: ~/.kube/config WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: ~/.kube/config ``` ```shell chmod o-r ~/.kube/config chmod g-r ~/.kube/config ``` #### Install kubectl and helm for Windows - https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/ - https://helm.sh/docs/intro/install/ #### References - https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker