Google cloud: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
(Новая страница: «=Заметки=»)
 
Строка 1: Строка 1:
 
=Заметки=
 
=Заметки=
  +
  +
* gcloud init --console-only
  +
* gcloud container clusters list
  +
<PRE>
  +
gcloud container clusters list
  +
NAME ZONE MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS
  +
amp-kubernetes-cluster us-central1-b 1.4.8 104.198.73.45 n1-standard-2 1.4.7 * 5 RUNNING
  +
k-poc-search-1 us-central1-b 1.4.8 104.198.72.131 n1-standard-4 1.4.7 * 4 RUNNING
  +
k-poc-search-2 us-central1-b 1.5.2 104.154.220.59 n1-highmem-4 1.5.2 2 RUNNING
  +
mmazur-sandbox-1 us-central1-b 1.5.2 104.198.34.251 n1-standard-1 1.5.2 3 RUNNING
  +
</PRE>
  +
  +
* gcloud container clusters get-credentials mmazur-sandbox-1
  +
<PRE>
  +
Fetching cluster endpoint and auth data.
  +
kubeconfig entry generated for mmazur-sandbox-1.
  +
</PRE>

Версия 14:32, 6 февраля 2017

Заметки

  • gcloud init --console-only
  • gcloud container clusters list
 gcloud container clusters list
NAME                    ZONE           MASTER_VERSION  MASTER_IP       MACHINE_TYPE   NODE_VERSION  NUM_NODES  STATUS
amp-kubernetes-cluster  us-central1-b  1.4.8           104.198.73.45   n1-standard-2  1.4.7 *       5          RUNNING
k-poc-search-1          us-central1-b  1.4.8           104.198.72.131  n1-standard-4  1.4.7 *       4          RUNNING
k-poc-search-2          us-central1-b  1.5.2           104.154.220.59  n1-highmem-4   1.5.2         2          RUNNING
mmazur-sandbox-1        us-central1-b  1.5.2           104.198.34.251  n1-standard-1  1.5.2         3          RUNNING
  • gcloud container clusters get-credentials mmazur-sandbox-1
Fetching cluster endpoint and auth data.
kubeconfig entry generated for mmazur-sandbox-1.