简体   繁体   中英

Creating a Jenkins X Kubernetes cluster with GKE throws exception: secrets “jenkins” not found

When I try to create a Jenkins X Kubernetes cluster with GKE using this command:

jx create cluster gke --skip-login

The following exeption is thrown at the end of installation:

error creating cluster configuring Jenkins: creating Jenkins API token: after 3 attempts, last error: creating Jenkins Auth configuration: secrets "jenkins" not found

During installation I select the default settings and provide my own github settings, including generated personal access token, but I don't think that the github token is the issue in this case (I'm pretty sure all my github settings are correct)

The problem has been solved by using --tekton flag:

jx create cluster gke --skip-login --tekton

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM