Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: linux install with package manager snap snapd 
Shell :: brew on windows 
Shell :: install graphene 
Shell :: android emulator for ubuntu 
Shell :: storybook vite installtion 
Shell :: variable replacement bash zero padding 
Shell :: sublime merge editor git 
Shell :: change permission to connect your SSH instance mac 
Shell :: bash force exit 0 
Shell :: zsh wait for user input 
Shell :: How do I create a next application 
Shell :: pip3 install requirements.txt 
Shell :: jenkins get last commit message 
Shell :: top running port 
Shell :: relocating shards stuck elasticsearch 
Shell :: how get pods in kuber 
Shell :: install bazel ubuntu 20.04 
Shell :: comment creer un fichier en linux 
Shell :: odoo run command line 
Shell :: upload file via terminal 
Shell :: kill process on mac 
Shell :: bash increment variable in while loop 
Shell :: how to install simple screen recorder in fedora 
Shell :: get version of mongodb server 
Shell :: ubuntu drivers 
Shell :: symfony skeleton version 
Shell :: how to make apache not run automatically linux 
Shell :: linux create directory 
Shell :: git prune local branches 
Shell :: ionic equivalent of android clean project 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =