티스토리 뷰

노드 리스트를 확인 

MBP:~|⇒ kubectl get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE
broker-883809602-1qhmw 1/1 Running 0 6d 10.4.1.11 gke-test-broker-pool-xxxx
broker-883809602-n9kd3 1/1 Running 0 6d 10.4.1.10 gke-test-broker-pool-xxxx
redis-master-3573802360-htmp5 1/1 Running 0 6d 10.4.0.8 gke-test-broker-pool-xxxx
test-broker-540561889-jjl1s 1/1 Running 0 9d 10.4.0.7 gke-test-broker-pool-xxxx

접속 

MBP:~|⇒ gcloud compute ssh gke-test-broker-default-pool-xxxx


docker process 확인 

$ docker ps CONTAINER ID IMAGE 8fc5ad6417e0 redis@sha256:239820aax


redis-cli를 실행해서 필요한 명령어 수행하기 

$ docker exec -it 8fc5ad6417e0 redis-cli
127.0.0.1:6379> config set stop-writes-on-bgsave-error no


'Programming > GCP' 카테고리의 다른 글

pod restart하기  (0) 2017.11.23
Kubernetes 참고자료  (0) 2017.11.15
Java Application GKE Kubernetes 적용하기  (0) 2017.11.14
GCP Instance에 ssh 연결하기  (0) 2017.10.23
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함