Log in to Google Cloud Platform and create a new Kubernetes Cluster:

Set the number of nodes in the cluster to 1 and select CPU configuration from the Machine Type drop-down list.

Expand Advanced Edit and select the image type of the operating system on which the Kubernetes cluster is installed:

Select Ubuntu and SSD as the disk type:

Click Create to get a Kubernetes cluster:

The images for these containers will be pulled from the public Docker repository and store. The containers will be connected to each other and have some ports exposed to the internet.

Once the Kubernetes cluster is created, click Connect,

The kubectl command line is used to access the Kubernetes cluster in Google Cloud Shell:

Create a new secret:

kubectl create secret docker-registry docker-secret –docker-server=index.docker.io/v1/ –docker-username=jerry password=jerrywang –[email protected]

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: