How to deploy one application on GKE cluster

+2 votes

Hi Guys,

I have created one GKE Cluster. Now I want to deploy one app from the command line. How can I do that?

Aug 25, 2020 in GCP by akhtar
• 38,240 points
204 views

1 answer to this question.

0 votes

Hi@akhtar,

GKE uses Kubernetes objects to create and manage your cluster's resources. Kubernetes provides the Deployment object for deploying stateless applications like web servers. Service objects define rules and load balancing for accessing your application from the internet. I have attached one hello-app example below.

$ kubectl create deployment hello-server --image=gcr.io/google-samples/hello-app:1.0
answered Aug 25, 2020 by MD
• 95,340 points

Related Questions In GCP

0 votes
1 answer
+2 votes
1 answer

How to create a GKE cluster from command line?

Hi@MD, A cluster consists of at least one cluster master machine ...READ MORE

answered Aug 25, 2020 in GCP by akhtar
• 38,240 points
588 views
+2 votes
1 answer

How to get authentication credentials of GKE Cluster from command line?

Hi@akhtar, After creating your cluster, you need to ...READ MORE

answered Aug 25, 2020 in GCP by MD
• 95,340 points
419 views
+2 votes
1 answer

How to delete GKE Cluster from command line?

Hi@akhtar, You can delete your GKE Cluster from ...READ MORE

answered Aug 25, 2020 in GCP by MD
• 95,340 points
446 views
+2 votes
1 answer

How to expose the deployment on GKE Cluster?

Hi@akhtar, After deploying the application, you need to ...READ MORE

answered Aug 25, 2020 in GCP by MD
• 95,340 points
417 views
+2 votes
1 answer

How to launch one instance on GCP Cloud from command line?

Hi@akhtar, You can compute service in GCP to launch ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,340 points
288 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP