본문 바로가기

[DevOps]/[Kubernetes]

[Qwiklabs] Kubernetes in Google Cloud [ Managing Deployments Using Kubernetes Engine ]

728x90

[ Managing Deployments Using Kubernetes Engine ]

 

   Dev Ops를 잘 알지는 못하지만 "Continuous Deployment", "Blue-Green Deployments," "Canary Deployments" 와 같은 다양한 시나리오가 있다고 한다. 이런 다양하고 이질적인 컨테이너들을 어떻게 scaling하고, manage할 수 있는지를 알아보는 실습이다.  이번 실습에서 배우는 내용은 다음과 같다. 

 

  • Practice with kubectl tool
  • Create deployment yaml files
  • Launch, update, and scale deployments
  • Practice with updating deployments and deployment styles

Setup)

gcloud config set compute/zone us-central1-a
git clone https://github.com/googlecodelabs/orchestrate-with-kubernetes.git
cd orchestrate-with-kubernetes/kubernetes
gcloud container clusters create bootcamp --num-nodes 5 --scopes "https://www.googleapis.com/auth/projecthosting,storage-rw"

Learn about the deployment object)

Create a deployment)

Rolling update)

Canary deployments)

 

Blue-green deployments)

 

 

 

728x90