简体   繁体   English

使用 GKE 创建 Jenkins X Kubernetes 集群会引发异常:找不到机密“jenkins”

[英]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:当我尝试使用以下命令使用 GKE 创建 Jenkins X Kubernetes 集群时:

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) 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:该问题已通过使用 --tekton 标志解决:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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