"Gcloud container clusters update"의 두 판 사이의 차이

27번째 줄: 27번째 줄:
$ kubectl get no
$ kubectl get no
The connection to the server 35.79.146.80 was refused - did you specify the right host or port?
The connection to the server 35.79.146.80 was refused - did you specify the right host or port?
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ gcloud container clusters update cluster1 --update-addons=GcePersistentDiskCsiDriver=ENABLED --zone asia-northeast9-x
Updating cluster1...done.
Updated [https://container.googleapis.com/v1/projects/hello-world-802/zones/asia-northeast9-x/clusters/cluster1].
To inspect the contents of your cluster, go to: https://console.cloud.google.com/kubernetes/workload_/gcloud/asia-northeast9-x/cluster1?project=hello-world-802
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ kubectl get ds -n kube-system | grep pdcsi
pdcsi-node                  4        4        4      4            4          kubernetes.io/os=linux                                                  61s
pdcsi-node-windows          0        0        0      0            0          kubernetes.io/os=windows                                                61s
</syntaxhighlight>
</syntaxhighlight>



2022년 2월 2일 (수) 15:25 판

1 개요

gcloud container clusters update
$ gcloud container clusters list
NAME: cluster1
LOCATION: asia-northeast9-x
MASTER_VERSION: 1.19.14-gke.1900
MASTER_IP: 35.79.146.80
MACHINE_TYPE: e2-micro
NODE_VERSION: 1.19.14-gke.1900
NUM_NODES: 4
STATUS: RUNNING
$ gcloud container clusters update cluster1 --update-addons=GcePersistentDiskCsiDriver=ENABLED

ERROR: (gcloud.container.clusters.update) One of [--zone, --region] must be supplied: Please specify location.
$ gcloud container clusters update cluster1 --update-addons=GcePersistentDiskCsiDriver=ENABLED --zone asia-northeast9-x

Updating cluster1...working...
$ kubectl get no
The connection to the server 35.79.146.80 was refused - did you specify the right host or port?
$ gcloud container clusters update cluster1 --update-addons=GcePersistentDiskCsiDriver=ENABLED --zone asia-northeast9-x

Updating cluster1...done.
Updated [https://container.googleapis.com/v1/projects/hello-world-802/zones/asia-northeast9-x/clusters/cluster1].
To inspect the contents of your cluster, go to: https://console.cloud.google.com/kubernetes/workload_/gcloud/asia-northeast9-x/cluster1?project=hello-world-802
$ kubectl get ds -n kube-system | grep pdcsi
pdcsi-node                  4         4         4       4            4           kubernetes.io/os=linux                                                   61s
pdcsi-node-windows          0         0         0       0            0           kubernetes.io/os=windows                                                 61s

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}