Skip to content

Instantly share code, notes, and snippets.

@jtfogarty
Created December 30, 2018 22:20
Show Gist options
  • Save jtfogarty/d7037f6e5db910ed9ee258e0b8a3155a to your computer and use it in GitHub Desktop.
Save jtfogarty/d7037f6e5db910ed9ee258e0b8a3155a to your computer and use it in GitHub Desktop.
Configuring second workstation after creating jx/gke cluster from another workstation
jx version
Error loading team settings. Unable to locate dev environment resource definition in namespace default, No Environment called: dev or with selector: env=dev found 0 entries: []
Error loading team settings. Unable to locate dev environment resource definition in namespace default, No Environment called: dev or with selector: env=dev found 0 entries: []
Failed to find helm installs: failed to run 'helm list' command in directory '', output: '': exec: "helm": executable file not found in $PATH
Failed to get helm version: failed to run 'helm version --short' command in directory '', output: '': exec: "helm": executable file not found in $PATH
NAME VERSION
jx 1.3.688
Kubernetes cluster v1.10.9-gke.5
kubectl v1.10.7
git git version 2.17.2 (Apple Git-113)
Operating System Mac OS X 10.14.2 build 18C54
Jeffs-MBP-3:~ jefffogarty$ helm list
-bash: helm: command not found
Jeffs-MBP-3:~ jefffogarty$ jx init --helm-client-only
? Cloud Provider gke
? Please enter the name you wish to use with git: jtfogarty
? Please enter the email address you wish to use with git: jeff@fogarty.org
Git configured for user: jtfogarty and email jeff@fogarty.org
Using helm2
Configuring tiller
Tiller Deployment is running in namespace kube-system
existing ingress controller found, no need to install a new one
Waiting for external loadbalancer to be created and update the nginx-ingress-controller service in kube-system namespace
Note: this loadbalancer will fail to be provisioned if you have insufficient quotas, this can happen easily on a GKE free account. To view quotas run: gcloud compute project-info describe
External loadbalancer created
Waiting to find the external host name of the ingress controller Service in namespace kube-system with name jxing-nginx-ingress-controller
You can now configure a wildcard DNS pointing to the new loadbalancer address 35.225.120.43
If you do not have a custom domain setup yet, Ingress rules will be set for magic dns nip.io.
Once you have a custom domain ready, you can update with the command jx upgrade ingress --cluster
If you don't have a wildcard DNS setup then setup a DNS (A) record and point it at: 35.225.120.43 then use the DNS domain in the next input...
? Domain 35.225.120.43.nip.io
nginx ingress controller installed and configured
Jeffs-MBP-3:~ jefffogarty$ jx version
Failed to find helm installs: failed to run 'helm list' command in directory '', output: '': exec: "helm": executable file not found in $PATH
Failed to get helm version: failed to run 'helm version --short' command in directory '', output: '': exec: "helm": executable file not found in $PATH
NAME VERSION
jx 1.3.688
Kubernetes cluster v1.10.9-gke.5
kubectl v1.10.7
git git version 2.17.2 (Apple Git-113)
Operating System Mac OS X 10.14.2 build 18C54
Jeffs-MBP-3:~ jefffogarty$ which helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment