Quite recently, my work entailed me to use GCP (Google Cloud Platform) and Kubernetes (K8S). After using AWS for a long time, its time for GCP! So, I’m detailing here my journey and stumbling block I encountered along the way!
I signed up immediately with $300 free credit at Google Cloud platform.
I always use Linux Mint as my desktop OS of choice, so the details here are based on this flavor of Linux (Debian/Ubuntu).
Hereunder are the steps:
- Sign up with GCP
- Install google cloud sdk in your workstation (laptop/desktop)
vener@vener-ThinkPad-T410:~$ curl https://sdk.cloud.google.com | bash
Performing post processing steps...done.
Update done!
Modify profile to update your $PATH and enable shell command completion?
Do you want to continue (Y/n)? Y
The Google Cloud SDK installer will now prompt you to update an rc file to bring
the Google Cloud CLIs into your environment.
Enter a path to an rc file to update, or leave blank to use
[/home/vener/.bashrc]:
Backing up [/home/vener/.bashrc] to [/home/vener/.bashrc.backup].
[/home/vener/.bashrc] has been updated.
==> Start a new shell for the changes to take effect.
For more information on how to get started, please visit:
https://cloud.google.com/sdk/docs/quickstarts
We can check what was appended in .bashrc via cat or tail.
vener@vener-ThinkPad-T410:~$ tail .bashrc -n 5
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/vener/google-cloud-sdk/path.bash.inc' ]; then . '/home/vener/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/vener/google-cloud-sdk/completion.bash.inc' ]; then . '/home/vener/google-cloud-sdk/completion.bash.inc'; fi
Check the version and location of your gcloud
vener@vener-ThinkPad-T410:~$ which gcloud
/home/vener/google-cloud-sdk/bin/gcloud
vener@vener-ThinkPad-T410:~$ gcloud --version
Google Cloud SDK 389.0.0
bq 2.0.74
core 2022.06.03
gsutil 5.10
Initialize gcloud
vener@vener-ThinkPad-T410:~$ gcloud init
Welcome! This command will take you through the configuration of gcloud.
Your current configuration has been set to: [default]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
You must log in to continue. Would you like to log in (Y/n)? Y
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=.... -snipped-
...code_challenge_method=S256
You are logged in as: [____@_____.com].
Pick cloud project to use:
[1] pro-pulsar-350003
[2] Enter a project ID
[3] Create a new project
Please enter numeric choice or text value (must exactly match list item): 1
Your current project has been set to: [pro-pulsar-350003].
Not setting default zone/region (this feature makes it easier to use
[gcloud compute] by setting an appropriate default value for the
--zone and --region flag).
See https://cloud.google.com/compute/docs/gcloud-compute section on how to set
default compute region and zone manually. If you would like [gcloud init] to be
Check your gcloud config
vener@vener-ThinkPad-T410:~$ gcloud config list
[core]
account = ____@______.com
disable_usage_reporting = True
project = pro-pulsar-350003
Your active configuration is: [default]
Connect using gcloud to list and enable needed api services: cloud and container apis
vener@vener-ThinkPad-T410:~$ gcloud services list
NAME TITLE
bigquery.googleapis.com BigQuery API
bigquerymigration.googleapis.com BigQuery Migration API
bigquerystorage.googleapis.com BigQuery Storage API
cloudapis.googleapis.com Google Cloud APIs
clouddebugger.googleapis.com Cloud Debugger API
cloudtrace.googleapis.com Cloud Trace API
datastore.googleapis.com Cloud Datastore API
logging.googleapis.com Cloud Logging API
monitoring.googleapis.com Cloud Monitoring API
servicemanagement.googleapis.com Service Management API
serviceusage.googleapis.com Service Usage API
sql-component.googleapis.com Cloud SQL
storage-api.googleapis.com Google Cloud Storage JSON API
storage-component.googleapis.com Cloud Storage
storage.googleapis.com Cloud Storage API
vener@vener-ThinkPad-T410:~$ gcloud services enable compute.googleapis.com
Operation "operations/acf.p2-697762248052-65eb63da-0f80-4e6d-b598-3a94b8996bf5" finished successfully.
vener@vener-ThinkPad-T410:~$ gcloud services enable container.googleapis.com
Operation "operations/acf.p2-697762248052-79b48023-540e-41fc-a117-c384f67f607b" finished successfully.
Updates are available for some Google Cloud CLI components. To install them,
please run:
$ gcloud components update
vener@vener-ThinkPad-T410:~$ gcloud services list
NAME TITLE
autoscaling.googleapis.com Cloud Autoscaling API
bigquery.googleapis.com BigQuery API
bigquerymigration.googleapis.com BigQuery Migration API
bigquerystorage.googleapis.com BigQuery Storage API
cloudapis.googleapis.com Google Cloud APIs
clouddebugger.googleapis.com Cloud Debugger API
cloudtrace.googleapis.com Cloud Trace API
compute.googleapis.com Compute Engine API
container.googleapis.com Kubernetes Engine API
containerfilesystem.googleapis.com Container File System API
containerregistry.googleapis.com Container Registry API
datastore.googleapis.com Cloud Datastore API
iam.googleapis.com Identity and Access Management (IAM) API
iamcredentials.googleapis.com IAM Service Account Credentials API
logging.googleapis.com Cloud Logging API
monitoring.googleapis.com Cloud Monitoring API
oslogin.googleapis.com Cloud OS Login API
pubsub.googleapis.com Cloud Pub/Sub API
servicemanagement.googleapis.com Service Management API
serviceusage.googleapis.com Service Usage API
sql-component.googleapis.com Cloud SQL
storage-api.googleapis.com Google Cloud Storage JSON API
storage-component.googleapis.com Cloud Storage
storage.googleapis.com Cloud Storage API
To set the proper zone for the project, list and verify correct zones.
vener@vener-ThinkPad-T410:~$ gcloud compute zones list | { awk 'NR<=1 {print >"/dev/fd/3"; next}; {print}' | grep asia-south ; } 3>&1
NAME REGION STATUS NEXT_MAINTENANCE TURNDOWN_DATE
asia-southeast1-b asia-southeast1 UP
asia-southeast1-a asia-southeast1 UP
asia-southeast1-c asia-southeast1 UP
asia-south1-c asia-south1 UP
asia-south1-b asia-south1 UP
asia-south1-a asia-south1 UP
asia-south2-a asia-south2 UP
asia-south2-b asia-south2 UP
asia-south2-c asia-south2 UP
asia-southeast2-a asia-southeast2 UP
asia-southeast2-b asia-southeast2 UP
asia-southeast2-c asia-southeast2 UP
I am going to select asia-southeast1-b and test by creating and deleting a cloud instance.
vener@vener-ThinkPad-T410:~$ gcloud config get compute/zone
(unset)
vener@vener-ThinkPad-T410:~$ gcloud config set compute/zone asia-southeast1-b
Updated property [compute/zone].
vener@vener-ThinkPad-T410:~$ gcloud config get compute/zone
asia-southeast1-b
vener@vener-ThinkPad-T410:~$ gcloud config list
[compute]
zone = asia-southeast1-b
[core]
account = ___@___.com
disable_usage_reporting = True
project = pro-pulsar-350003
Your active configuration is: [default]
vener@vener-ThinkPad-T410:~$ gcloud compute instances create "sre-test" --zone "asia-southeast1-b" --machine-type "f1-micro"
Created [https://www.googleapis.com/compute/v1/projects/pro-pulsar-350003/zones/asia-southeast1-b/instances/sre-test].
NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
sre-test asia-southeast1-b f1-micro 10.148.0.2 34.143.134.94 RUNNING
vener@vener-ThinkPad-T410:~$ gcloud compute instances delete "sre-test" --zone "asia-southeast1-b"
The following instances will be deleted. Any attached disks configured to be auto-deleted will be deleted unless
they are attached to any other instances or the `--keep-disks` flag is given and specifies them for keeping.
Deleting a disk is irreversible and any data on the disk will be lost.
- [sre-test] in [asia-southeast1-b]
Do you want to continue (Y/n)? Y
Deleted [https://www.googleapis.com/compute/v1/projects/pro-pulsar-350003/zones/asia-southeast1-b/instances/sre-test].
Should you want to change the project id, set to the corresponding project ID in Google Cloud that you want to create your cluster in, plus your desired compute zone therein.
vener@vener-ThinkPad-T410:~$ gcloud config set project pro-pulsar-350003
Updated property [core/project].
vener@vener-ThinkPad-T410:~$ gcloud config get project
pro-pulsar-350003
Create the GKE cluster. The command below will create a single-zone cluster in your chosen compute zone.
vener@vener-ThinkPad-T410:~$ gcloud container clusters create erlangstar --zone asia-southeast1-b
Default change: VPC-native is the default mode during cluster creation for versions greater than 1.21.0-gke.1500. To create advanced routes based clusters, please pass the `--no-enable-ip-alias` flag
Note: Your Pod address range (`--cluster-ipv4-cidr`) can accommodate at most 1008 node(s).
Creating cluster erlangstar in asia-southeast1-b... Cluster is being health-checked (master is healthy)...done.
Created [https://container.googleapis.com/v1/projects/pro-pulsar-350003/zones/asia-southeast1-b/clusters/erlangstar].
To inspect the contents of your cluster, go to: https://console.cloud.google.com/kubernetes/workload_/gcloud/asia-southeast1-b/erlangstar?project=pro-pulsar-350003
kubeconfig entry generated for erlangstar.
NAME LOCATION MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS
erlangstar asia-southeast1-b 1.22.8-gke.201 34.87.65.63 e2-medium 1.22.8-gke.201 3 RUNNING
Verify in Google Cloud console as below.
Get nodes info using kubectl
vener@vener-ThinkPad-T410:~$ gcloud container clusters get-credentials erlangstar
Fetching cluster endpoint and auth data.
kubeconfig entry generated for erlangstar.
vener@vener-ThinkPad-T410:~$ kubectl get nodes
W0615 12:03:34.957788 56661 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
NAME STATUS ROLES AGE VERSION
gke-erlangstar-default-pool-8ee85101-0f7g Ready <none> 10m v1.22.8-gke.201
gke-erlangstar-default-pool-8ee85101-9j09 Ready <none> 10m v1.22.8-gke.201
gke-erlangstar-default-pool-8ee85101-zp77 Ready <none> 10m v1.22.8-gke.201
vener@vener-ThinkPad-T410:~$ kubectl get all
W0615 12:05:16.834984 56716 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.36.0.1 <none> 443/TCP 13m
Get specific node information
vener@vener-ThinkPad-T410:~$ kubectl get nodes gke-erlangstar-default-pool-8ee85101-0f7g -o json
W0615 12:07:44.358860 56770 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
{
"apiVersion": "v1",
"kind": "Node",
"metadata": {
"annotations": {
"container.googleapis.com/instance_id": "4322120778184452131",
"csi.volume.kubernetes.io/nodeid": "{\"pd.csi.storage.gke.io\":\"projects/pro-pulsar-350003/zones/asia-southeast1-b/instances/gke-erlangstar-default-pool-8ee85101-0f7g\"}",
"node.alpha.kubernetes.io/ttl": "0",
"node.gke.io/last-applied-node-labels": "cloud.google.com/gke-boot-disk=pd-standard,cloud.google.com/gke-container-runtime=containerd,cloud.google.com/gke-cpu-scaling-level=2,cloud.google.com/gke-max-pods-per-node=110,cloud.google.com/gke-nodepool=default-pool,cloud.google.com/gke-os-distribution=cos,cloud.google.com/machine-family=e2",
"node.gke.io/last-applied-node-taints": "",
"volumes.kubernetes.io/controller-managed-attach-detach": "true"
},
"creationTimestamp": "2022-06-15T03:53:11Z",
"labels": {
"beta.kubernetes.io/arch": "amd64",
"beta.kubernetes.io/instance-type": "e2-medium",
"beta.kubernetes.io/os": "linux",
"cloud.google.com/gke-boot-disk": "pd-standard",
"cloud.google.com/gke-container-runtime": "containerd",
"cloud.google.com/gke-cpu-scaling-level": "2",
"cloud.google.com/gke-max-pods-per-node": "110",
"cloud.google.com/gke-nodepool": "default-pool",
"cloud.google.com/gke-os-distribution": "cos",
"cloud.google.com/machine-family": "e2",
"failure-domain.beta.kubernetes.io/region": "asia-southeast1",
"failure-domain.beta.kubernetes.io/zone": "asia-southeast1-b",
"kubernetes.io/arch": "amd64",
"kubernetes.io/hostname": "gke-erlangstar-default-pool-8ee85101-0f7g",
"kubernetes.io/os": "linux",
"node.kubernetes.io/instance-type": "e2-medium",
"topology.gke.io/zone": "asia-southeast1-b",
"topology.kubernetes.io/region": "asia-southeast1",
"topology.kubernetes.io/zone": "asia-southeast1-b"
},
"name": "gke-erlangstar-default-pool-8ee85101-0f7g",
"resourceVersion": "5663",
"uid": "001ac8c9-28f2-488b-9b03-2805d80bc39d"
},
"spec": {
"podCIDR": "10.32.1.0/24",
"podCIDRs": [
"10.32.1.0/24"
],
"providerID": "gce://pro-pulsar-350003/asia-southeast1-b/gke-erlangstar-default-pool-8ee85101-0f7g"
},
"status": {
"addresses": [
{
"address": "10.148.0.4",
"type": "InternalIP"
},
{
"address": "35.187.237.219",
"type": "ExternalIP"
},
{
"address": "gke-erlangstar-default-pool-8ee85101-0f7g.asia-southeast1-b.c.pro-pulsar-350003.internal",
"type": "InternalDNS"
},
{
"address": "gke-erlangstar-default-pool-8ee85101-0f7g.asia-southeast1-b.c.pro-pulsar-350003.internal",
"type": "Hostname"
}
],
"allocatable": {
"attachable-volumes-gce-pd": "15",
"cpu": "940m",
"ephemeral-storage": "47093746742",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "2880212Ki",
"pods": "110"
},
"capacity": {
"attachable-volumes-gce-pd": "15",
"cpu": "2",
"ephemeral-storage": "98868448Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "4026068Ki",
"pods": "110"
},
"conditions": [
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "kernel has no deadlock",
"reason": "KernelHasNoDeadlock",
"status": "False",
"type": "KernelDeadlock"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "Filesystem is not read-only",
"reason": "FilesystemIsNotReadOnly",
"status": "False",
"type": "ReadonlyFilesystem"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "node is functioning properly",
"reason": "NoFrequentUnregisterNetDevice",
"status": "False",
"type": "FrequentUnregisterNetDevice"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "docker overlay2 is functioning properly",
"reason": "NoCorruptDockerOverlay2",
"status": "False",
"type": "CorruptDockerOverlay2"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "kubelet is functioning properly",
"reason": "NoFrequentKubeletRestart",
"status": "False",
"type": "FrequentKubeletRestart"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "docker is functioning properly",
"reason": "NoFrequentDockerRestart",
"status": "False",
"type": "FrequentDockerRestart"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:12Z",
"lastTransitionTime": "2022-06-15T03:53:11Z",
"message": "containerd is functioning properly",
"reason": "NoFrequentContainerdRestart",
"status": "False",
"type": "FrequentContainerdRestart"
},
{
"lastHeartbeatTime": "2022-06-15T03:53:12Z",
"lastTransitionTime": "2022-06-15T03:53:12Z",
"message": "NodeController create implicit route",
"reason": "RouteCreated",
"status": "False",
"type": "NetworkUnavailable"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:54Z",
"lastTransitionTime": "2022-06-15T03:52:32Z",
"message": "kubelet has sufficient memory available",
"reason": "KubeletHasSufficientMemory",
"status": "False",
"type": "MemoryPressure"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:54Z",
"lastTransitionTime": "2022-06-15T03:52:32Z",
"message": "kubelet has no disk pressure",
"reason": "KubeletHasNoDiskPressure",
"status": "False",
"type": "DiskPressure"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:54Z",
"lastTransitionTime": "2022-06-15T03:52:32Z",
"message": "kubelet has sufficient PID available",
"reason": "KubeletHasSufficientPID",
"status": "False",
"type": "PIDPressure"
},
{
"lastHeartbeatTime": "2022-06-15T04:03:54Z",
"lastTransitionTime": "2022-06-15T03:53:12Z",
"message": "kubelet is posting ready status. AppArmor enabled",
"reason": "KubeletReady",
"status": "True",
"type": "Ready"
}
],
"daemonEndpoints": {
"kubeletEndpoint": {
"Port": 10250
}
},
"images": [
{
"names": [
"gke.gcr.io/kube-proxy-amd64:v1.22.8-gke.201",
"k8s.gcr.io/kube-proxy-amd64:v1.22.8-gke.201"
],
"sizeBytes": 107564229
},
{
"names": [
"asia.gcr.io/gke-release-staging/event-exporter@sha256:34b034af960047020f4674151bbb2b55878f82a0b76dabca81b518e9fe82180d",
"eu.gcr.io/gke-release-staging/event-exporter@sha256:34b034af960047020f4674151bbb2b55878f82a0b76dabca81b518e9fe82180d",
"gcr.io/gke-release-staging/event-exporter@sha256:34b034af960047020f4674151bbb2b55878f82a0b76dabca81b518e9fe82180d",
"asia.gcr.io/gke-release-staging/event-exporter:v0.3.4-gke.0",
"eu.gcr.io/gke-release-staging/event-exporter:v0.3.4-gke.0"
],
"sizeBytes": 48883002
},
{
"names": [
"asia.gcr.io/gke-release-staging/prometheus-to-sd@sha256:e739643c3939ba0b161425f45a1989eedfc4a3b166db9a7100863296b4c70510",
"eu.gcr.io/gke-release-staging/prometheus-to-sd@sha256:e739643c3939ba0b161425f45a1989eedfc4a3b166db9a7100863296b4c70510",
"gcr.io/gke-release-staging/prometheus-to-sd@sha256:e739643c3939ba0b161425f45a1989eedfc4a3b166db9a7100863296b4c70510",
"asia.gcr.io/gke-release-staging/prometheus-to-sd:v0.11.1-gke.1",
"eu.gcr.io/gke-release-staging/prometheus-to-sd:v0.11.1-gke.1"
],
"sizeBytes": 48742184
},
{
"names": [
"gke.gcr.io/fluent-bit@sha256:b797294a438a28d8a3c469327c4eee4acf2617efaee58e4b681d3d2434354bc0",
"gke.gcr.io/fluent-bit:v1.8.7-gke.1"
],
"sizeBytes": 44297863
},
{
"names": [
"gke.gcr.io/prometheus-to-sd@sha256:c5e12680a431990d5e39ed249dcb43a7672e99f7ef94a9928be40cf2f418f62f",
"gke.gcr.io/prometheus-to-sd:v0.10.0-gke.0"
],
"sizeBytes": 44144056
},
{
"names": [
"gke.gcr.io/gcp-compute-persistent-disk-csi-driver@sha256:a812128108810ab5816497c6a8fca7570b3d0d5092fa335823b7153772e617ee",
"gke.gcr.io/gcp-compute-persistent-disk-csi-driver:v1.7.0-gke.2"
],
"sizeBytes": 43233407
},
{
"names": [
"gke.gcr.io/event-exporter@sha256:09e908d7ea0020f47cc1279caef6ce1b4d0cdebb9c9493b8550aace1d3c82c7c",
"gke.gcr.io/event-exporter:v0.3.5-gke.0"
],
"sizeBytes": 37797281
},
{
"names": [
"gke.gcr.io/gke-metrics-agent@sha256:3ee828810e005acd41add7f426c3667121738d7e85965fd1e29375347ba570dc",
"gke.gcr.io/gke-metrics-agent:1.8.3-gke.0"
],
"sizeBytes": 27090780
},
{
"names": [
"gcr.io/gke-release/metrics-server-amd64@sha256:6e4907f3b45db9408f2e99414e8da18d9400948abd747d6519ad7d69d8136785",
"gcr.io/gke-release/metrics-server-amd64:v0.4.5-gke.0"
],
"sizeBytes": 25341240
},
{
"names": [
"gke.gcr.io/fluent-bit-gke-exporter@sha256:8c0d4d150bc42636d1449c810b808417352f5418e2d63c8f12833d9db2238e21",
"gke.gcr.io/fluent-bit-gke-exporter:v0.17.1-gke.0"
],
"sizeBytes": 19656006
},
{
"names": [
"asia.gcr.io/gke-release-staging/cluster-proportional-autoscaler@sha256:0f232ba18b63363e33f205d0242ef98324fb388434f8598c2fc8e967dca146bc",
"eu.gcr.io/gke-release-staging/cluster-proportional-autoscaler@sha256:0f232ba18b63363e33f205d0242ef98324fb388434f8598c2fc8e967dca146bc",
"gcr.io/gke-release-staging/cluster-proportional-autoscaler@sha256:0f232ba18b63363e33f205d0242ef98324fb388434f8598c2fc8e967dca146bc",
"asia.gcr.io/gke-release-staging/cluster-proportional-autoscaler:1.8.4-gke.1",
"eu.gcr.io/gke-release-staging/cluster-proportional-autoscaler:1.8.4-gke.1"
],
"sizeBytes": 16830362
},
{
"names": [
"asia.gcr.io/gke-release-staging/cluster-proportional-autoscaler-amd64@sha256:e3f48b3d1e49cfa3e7f002020769c9cd01cd0e77bbc99dc133c7ab0f8097e989",
"eu.gcr.io/gke-release-staging/cluster-proportional-autoscaler-amd64@sha256:e3f48b3d1e49cfa3e7f002020769c9cd01cd0e77bbc99dc133c7ab0f8097e989",
"gcr.io/gke-release-staging/cluster-proportional-autoscaler-amd64@sha256:e3f48b3d1e49cfa3e7f002020769c9cd01cd0e77bbc99dc133c7ab0f8097e989",
"asia.gcr.io/gke-release-staging/cluster-proportional-autoscaler-amd64:1.7.1-gke.0",
"eu.gcr.io/gke-release-staging/cluster-proportional-autoscaler-amd64:1.7.1-gke.0"
],
"sizeBytes": 16572417
},
{
"names": [
"asia.gcr.io/gke-release-staging/cpvpa-amd64@sha256:b802d79f207ea9cbc996cc208781ea34715fe796be68e5250da37b2ae73d42a6",
"eu.gcr.io/gke-release-staging/cpvpa-amd64@sha256:b802d79f207ea9cbc996cc208781ea34715fe796be68e5250da37b2ae73d42a6",
"gcr.io/gke-release-staging/cpvpa-amd64@sha256:b802d79f207ea9cbc996cc208781ea34715fe796be68e5250da37b2ae73d42a6",
"asia.gcr.io/gke-release-staging/cpvpa-amd64:v0.8.3-gke.0",
"eu.gcr.io/gke-release-staging/cpvpa-amd64:v0.8.3-gke.0"
],
"sizeBytes": 16376177
},
{
"names": [
"gke.gcr.io/proxy-agent@sha256:45c27e752ed970b2766941c77044f53366000453f8f100f858ab13978051910a",
"gke.gcr.io/proxy-agent:v0.0.27-gke.2"
],
"sizeBytes": 9701785
},
{
"names": [
"asia.gcr.io/gke-release-staging/addon-resizer@sha256:e595f19b1661c38d89ec46cd1b57a8220db0e8aca336de60a4c06305174710d9",
"eu.gcr.io/gke-release-staging/addon-resizer@sha256:e595f19b1661c38d89ec46cd1b57a8220db0e8aca336de60a4c06305174710d9",
"gcr.io/gke-release-staging/addon-resizer@sha256:e595f19b1661c38d89ec46cd1b57a8220db0e8aca336de60a4c06305174710d9",
"asia.gcr.io/gke-release-staging/addon-resizer:1.8.13-gke.0",
"eu.gcr.io/gke-release-staging/addon-resizer:1.8.13-gke.0"
],
"sizeBytes": 9654882
},
{
"names": [
"gke.gcr.io/csi-node-driver-registrar@sha256:7d0a2637defeb214b464617a2027e0008fb1001da6b4d0123c23ec29663c5645",
"gke.gcr.io/csi-node-driver-registrar:v2.5.0-gke.1"
],
"sizeBytes": 9149099
},
{
"names": [
"gke.gcr.io/ingress-gce-404-server-with-metrics@sha256:6d47f258d5fc8ef4e32641972840509701b3689d249c36a4282acf9cd89e04f4",
"gke.gcr.io/ingress-gce-404-server-with-metrics:v1.13.4"
],
"sizeBytes": 7645836
},
{
"names": [
"asia.gcr.io/google-containers/pause-amd64:3.0",
"eu.gcr.io/google-containers/pause-amd64:3.0",
"gcr.io/google-containers/pause-amd64:3.0"
],
"sizeBytes": 312520
},
{
"names": [
"k8s.gcr.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07",
"k8s.gcr.io/pause:3.5"
],
"sizeBytes": 301416
}
],
"nodeInfo": {
"architecture": "amd64",
"bootID": "ea4e9b5f-f631-4d44-9813-30f99cf26fc5",
"containerRuntimeVersion": "containerd://1.5.4",
"kernelVersion": "5.10.90+",
"kubeProxyVersion": "v1.22.8-gke.201",
"kubeletVersion": "v1.22.8-gke.201",
"machineID": "8f133130f716b946fc2a68a791260299",
"operatingSystem": "linux",
"osImage": "Container-Optimized OS from Google",
"systemUUID": "8f133130-f716-b946-fc2a-68a791260299"
}
}
Delete the cluster
vener@vener-ThinkPad-T410:~$ gcloud container clusters delete erlangstar
The following clusters will be deleted.
- [erlangstar] in [asia-southeast1-b]
Do you want to continue (Y/n)? Y
Deleting cluster erlangstar...done.
Deleted [https://container.googleapis.com/v1/projects/pro-pulsar-350003/zones/asia-southeast1-b/clusters/erlangstar].