Categories
gcp

Managing Multiple Accounts in GCP

Add an account. gcloud config configurations create [CONFIG_NAME] Example gcloud config configurations create my-account Setup the new configuration. gcloud init List config. gcloud config configurations list NAME IS_ACTIVE ACCOUNT PROJECT DEFAULT_ZONE DEFAULT_REGION default False user1@domain1.com project-1 us-west1-a us-west1 my-account True user2@domain2.com project-2 us-west1-a us-west1 List active account. gcloud auth list Credentialed Accounts ACTIVE ACCOUNT user1@domain1.com […]

Categories
docker Kubernetes

Kubernetes: Learning with Minikube

If you haven’t already, check out my previous post Kubernetes: Getting Started with Minikube. helloworld — pod, service Create a folder and cd into it mkdir helloworld-example-01; cd helloworld-example-01 Create pod.yaml Creates 1 pod vi pod.yaml — apiVersion: v1 kind: Pod metadata: name: itsmetommy labels: app: helloworld spec: containers: – name: itsmetommy-httpd image: httpd ports: […]

Categories
docker Kubernetes

Kubernetes: Getting Started with Minikube

The following documentation is for Mac users and to help get you started using Kubernetes with Minikube. Install prerequisites Install Oracle VirtualBox for Mac. Install Docker for Mac. Install Minikube for Mac (should include kubectl). brew cask install minikube Launch minikube with the following command. minikube start Example minikube start Starting local Kubernetes v1.7.5 cluster… Starting VM… Getting VM IP […]