Slide 13
Slide 13 text
Compose on Kubernetes をGKEで動かそう - Cloud Native Kansai #03 Powered by Rabbit 2.2.1
ローカルで実行
$ docker stack deploy -c docker-compose.yml --orchestrator=kubernetes kubesample
Waiting for the stack to be stable and running...
words: Ready [pod status: 2/5 ready, 3/5 pending, 0/5 failed]
web: Ready [pod status: 1/1 ready, 0/1 pending, 0/1 failed]
db: Ready [pod status: 1/1 ready, 0/1 pending, 0/1 failed]
Stack kubesample is stable and running
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
db-79b45689db-f49f6 1/1 Running 0 4m
web-6b56cf97b9-2rbwg 1/1 Running 0 4m
words-6d654698d5-49l8g 1/1 Running 0 4m
words-6d654698d5-b9pf7 1/1 Running 0 4m
words-6d654698d5-fmp9f 1/1 Running 0 4m
words-6d654698d5-xhvfn 1/1 Running 0 4m
words-6d654698d5-z6zsf 1/1 Running 0 4m