Skip to content

kubectl doesn't fail silently with no k8s master#4175

Merged
j3ffml merged 1 commit intokubernetes:masterfrom
wojtek-t:kubectl_silent
Feb 5, 2015
Merged

kubectl doesn't fail silently with no k8s master#4175
j3ffml merged 1 commit intokubernetes:masterfrom
wojtek-t:kubectl_silent

Conversation

@wojtek-t
Copy link
Copy Markdown
Member

@wojtek-t wojtek-t commented Feb 5, 2015

Before the change, running cluster/kubectl.sh when there is no underlying Kubernetes master was failing silently. After this change this will write sth like that:
Project: groovy-sentry-504
Zone: us-central1-b
ERROR: (gcloud.compute.instances.describe) Could not fetch resource:

  • The resource 'projects/groovy-sentry-504/zones/us-central1-b/instances/kubernetes-master' was not found

Also, this is making it consistent with cluster/kubecfg.sh

This change is part of fixing #3300

@j3ffml
Copy link
Copy Markdown
Contributor

j3ffml commented Feb 5, 2015

lgtm. merging.

j3ffml added a commit that referenced this pull request Feb 5, 2015
kubectl doesn't fail silently with no k8s master
@j3ffml j3ffml merged commit 122124f into kubernetes:master Feb 5, 2015
@wojtek-t wojtek-t deleted the kubectl_silent branch March 20, 2015 07:37
This was referenced Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants