Pinakin Chaubal
Pinakin Chaubal

Reputation: 41

Unable to run the mandatory command for ingress-nginx setup

I am unable to run the mandatory command for ingress-nginx setup on Google cloud. I have authenticated to Google cloud using 'gcloud auth login'. Next I execute 'kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/mandatory.yaml'. I get the error shown belowenter image description here

Please help I am stuck

Upvotes: 0

Views: 224

Answers (1)

Pinakin Chaubal
Pinakin Chaubal

Reputation: 41

I executed the steps below and it worked

  1. On the Google cloud account, open the cloud shell and navigate to BPB_MEAN_Framework directory in terminal
  2. Execute the command gcloud init, reinitialize the cluster, select the account, project and the region
  3. Execute the command gcloud container clusters get-credentials blog-dev
  4. Execute the command kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.0.3/deploy/static/provider/cloud/deploy.yaml to configure ingress-nginx

Upvotes: 0

Related Questions