Select Page

GKE kubernetes – small notes

These are just my quick notes for my everyday job… install kube control: install gcloud gcloud components install kubectl get config from existing cluster: gcloud config set container/cluster cluster-name gcloud container clusters get-credentials cluster-name...

gcloud installation on Ubuntu/ Debian

Ubuntu and Debian contain by default preinstalled version of gcloud. But this installation cannot be updated using usual gcloud components update command. Therefore it is necessary to remove it and install gcloud from Google....

Format and mount new persistent disk on GCE instance

These steps must be done when new blank disk is created: create new disk according your needs attach it to the instance ssh instance find disk name: ls -lt /dev/disk/by-id/* new disk will be on the top and its name will look like ‘google-yourdiskname’...