Do i have to explictly install kubectl inorder to deploy containers using the GKE?

0 votes
I am new to GCP and am experimenting with deploying containers using Google Kubernetes Engine. Should I explicitly install kubectl for this purpose?
Sep 27 in GCP by Karan
• 3,250 points
18 views

1 answer to this question.

0 votes

No, you don't' have to if you are using Google Cloud Shell, If you intend to use the local shell, then you need to install gcloud as well as kubectl tools.

  • Google Cloud Shell is a shell environment for managing resources hosted on Google Cloud Platform (GCP). 

  • Cloud Shell comes preinstalled with the gcloud and kubectl command-line tools. gcloud provides the primary command-line interface for GCP, and kubectl provides the command-line interface for running commands against Kubernetes clusters.

  • If you prefer using your local shell, you must install the gcloud and kubectl command-line tools in your environment.

answered Sep 27 by Sirajul
• 29,340 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
16 views
0 votes
1 answer
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered 4 days ago in GCP by Sirajul
• 29,340 points
11 views
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20 in GCP by Sirajul
• 29,340 points
50 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
14 views
0 votes
1 answer

Cloud SQL of google cloud is IaaS or PaaS?

Cloud SQL is PAAS (Plaform As A ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
20 views
0 votes
1 answer