Skip to content

Instantly share code, notes, and snippets.

@aric49
Last active August 3, 2018 15:54
Show Gist options
  • Select an option

  • Save aric49/396e0d3ed823d75ee7620e42ab88b9ec to your computer and use it in GitHub Desktop.

Select an option

Save aric49/396e0d3ed823d75ee7620e42ab88b9ec to your computer and use it in GitHub Desktop.
KubeCTL Rancher Output
aric@thinkpad-p51:~$ kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
* ops-cluster-nonprod ops-cluster-nonprod user-k744f
aric@thinkpad-p51:~$ kubectl cluster-info
Kubernetes master is running at https://rancher.dev.internal.domain.com/k8s/clusters/c-gvhfk
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Unable to connect to the server: x509: certificate signed by unknown authority
aric@thinkpad-p51:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Unable to connect to the server: x509: certificate signed by unknown authority'
aric@thinkpad-p51:~$ kubectl get pods -o wide --all-namespaces
Unable to connect to the server: x509: certificate signed by unknown authority
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment