Kubernetes

Kubernetes

December 3, 2022 | docker, cloud, devops

Running it locally #

Best way to run locally is by using MiniKube

Start kubernetes cloud with non root user #

why docker container should be run as non root user?

``` minikube start ```

Install kubectl command #

ref

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO https://dl.k8s.io/release/v1.21.0/bin/linux/amd64/kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

Frequently used commands, cheatsheet #

kubectl get po -A


Links to this note

Go to random page

Previous Next