Kubernetes & Google Container Engine;...

Preview:

Citation preview

Kubernetes& Google Container Engine

2

3

4

5

6

7

8

9

10

11

12

14

15

16

17

18

gcloud container --project "project-name" clusters create "cluster-1" --zone "asia-east1-a" --machine-type "g1-small" --scope "https://www.googleapis.com/auth/compute","https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management" --num-nodes "2" --network "default" --enable-cloud-logging --no-enable-cloud-monitoring

gcloud compute --project "project-name" disks create "disk-1" --size "20" --zone "asia-east1-a" --type "pd-standard"

23

gcloud container clusters get-credentials cluster-1

kubectl create -f redmine.yml

30

31

32

33

45

47

48

49

50

51

Recommended