jx3-gitops-repositories / jx3-terraform-gke

Jenkins X 3.x Infrastructure Git Template for Terraform and Google Cloud Platform for managing cloud resources
Apache License 2.0
8 stars 27 forks source link

$(terraform output follow_install_logs) failed. Error: unknown command "admin" for "jx" #29

Closed devingenx closed 3 years ago

devingenx commented 3 years ago

After successful following the instruction and until it comes to the $(terraform output follow_install_logs) command.

 >>> $(terraform output follow_install_logs)
WARNING: Unable to load managed plugins because customresourcedefinitions.apiextensions.k8s.io "plugins.jenkins.io" not found
Error: unknown command "admin" for "jx"
Run 'jx --help' for usage.
>>> k get ns  
NAME              STATUS   AGE
default           Active   39m
jx-git-operator   Active   38m
kube-node-lease   Active   39m
kube-public       Active   39m
kube-system       Active   39m
kuberhealthy      Active   38m

But I also get this warnings for jx diagnose:

>>> jx diagnose
Running in namespace: default
WARNING: Failed to retrieve team settings: failed to setup the dev environment for namespace 'default': the server could not find the requested resource (post environments.jenkins.io) - falling back to default settings...
WARNING: Failed to find helm installs: running helm list --all --namespace default: failed to run 'helm list --all --namespace default' command in directory '', output: 'Error: could not find tiller'
Version        2.1.150
....