Horje
Creating a kubernetes service cluster Code Example
Creating a kubernetes service cluster
#In this step, you have to create a Kubernetes Service Cluster
#1. Create the cluster in the us-east1 region.
#2. Using the Docker container hello-app (`gcr.io/google-samples/hello-app:2.0`) as a place holder.
#3. Open the app on port 8080
#4. Activate Cloud Shell and write the following commands
gcloud config set compute/zone us-east1-b
gcloud container clusters create nucleus-jumphost-webserver1
gcloud container clusters get-credentials nucleus-jumphost-webserver1
kubectl create deployment hello-app --image=gcr.io/google-samples/hello-app:2.0
kubectl expose deployment hello-app --type=LoadBalancer --port 8080
kubectl get service




Shell

Related
how to install mongodb database in ubuntu version Code Example how to install mongodb database in ubuntu version Code Example
how to get list folder in cmd to value Code Example how to get list folder in cmd to value Code Example
npm installl chalk Code Example npm installl chalk Code Example
git workflow Code Example git workflow Code Example
bash search history Code Example bash search history Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8