Bash history cmds

gcloud init
gcloud auth list
gcloud info
gcloud config list
gcloud container clusters get-credentials clust-one

sudo apt-get install git
sudo apt-get install kubectl
kubectl
docker run hello-world
sudo apt install docker.io

kubectl config view
kubectl config current-context

kubectl create deployment hello-server --image=gcr.io/google-samples/hello-app:1.0
kubectl get deployment

kubectl apply -f result.configmap.yaml

kubectl create -f traefik-cr.yaml
kubectl create -f traefik-crb.yaml

echo -n 'supersecretword' | base64

External doc

  1. Traefik

  2. Service type: ClusterIP/NodePort/LoadBalancer

  3. create secret and call me maybe kubectl create secret docker-registry regcred --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>