云效这个问题怎么解决? -[阿里云_云淘科技]

云效这个问题怎么解决?云效这个问题怎么解决? -[阿里云_云淘科技]
[executionStep begins at 2024-01-05 10:48:11]
[INFO] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_x005f[92m[10:48:11] [SUCCESS] 鑾峰彇 Credential 鎴愬姛
[1m[10:48:11] [INFO] 浣跨敤宸ヤ綔璺緞/root/workspace/spring-boot_qx9C
鍔犺浇鐢ㄦ埛鑷畾涔夌幆澧冨彉閲�
USER_KEY=0.0.1
USER_KEY2=value2
[1m[10:48:11] [INFO] 鎵ц姝ラ
[10:48:11] [INFO] PIPELINE_ID=2808906
[10:48:11] [INFO] PIPELINE_NAME=娴佹按绾� 2024-01-04
[10:48:11] [INFO] BUILD_NUMBER=5
[10:48:11] [INFO] EMPLOYEE_ID=64af767ba392224a92708ac0
[10:48:11] [INFO] WORK_SPACE=/root/workspace
[10:48:11] [INFO] PROJECT_DIR=/root/workspace/spring-boot_qx9C
[10:48:11] [INFO] PLUGIN_DIR=/root/plugins
[10:48:11] [INFO] BUILD_JOB_ID=179045728
[10:48:11] [INFO] DEBUG=false
[10:48:11] [INFO] USE_REPLACE=false
[10:48:11] [INFO] SKIP_UNDEFINE_VARIABLE=false
[10:48:11] [INFO] ENABLE_APPSTACK_RELEASE_ORDER=false
[10:48:11] [INFO] SYSTEM_STEPS_STANDALONE_MODE=true
[10:48:11]
[10:48:11] ====================================
[10:48:11] CLUSTER TYPE custom
[10:48:11] ====================================
[10:48:11]
[10:48:11]
[10:48:11] [USER] KUBECTL_VERSION=v1.16.4
[10:48:11] [USER] CLUSTER_TYPE=custom
[10:48:11] [USER] NAMESPACE=default
[10:48:11] [USER] PATH_TO_YAML=app-configs/manifests/app.yaml
[10:48:11] [USER] INSECURE_SKIP_TLS_VERIFY=false
[10:48:11] 2024/01/05 10:48:11 [INFO] save date to /root/.kube/config
[10:48:11]
[10:48:11] [INFO] Kubernetes闆嗙兢鍩烘湰淇℃伅
[10:48:11] error: error loading config file “/root/.kube/config”: v1.Config.AuthInfos: []v1.NamedAuthInfo: v1.NamedAuthInfo.AuthInfo: v1.AuthInfo.ClientKeyData: ClientCertificateData: decode base64: illegal base64 data at input byte 14, error found in #10 byte of …|ode1.pem)”,”client-k|…, bigger context …|Ti… (base64 /etc/kubernetes/ssl/node-node1.pem)”,”client-key-data”:”LS0tLS1CRUdJTiBS.. (base64 /et|…
[10:48:11]
[10:48:11] [INFO] 鍑嗗搴旂敤Manifests瀹氫箟鏂囦欢
[10:48:11] [INFO] 鍒涘缓鍙戝竷璧勬簮缂撳瓨鐩綍.manifest
[10:48:11] {}
[10:48:11] Generate /root/workspace/spring-boot_qx9C/app-configs/manifests/app.yaml to /root/workspace/spring-boot_qx9C/.manifest/app.yaml
[10:48:11] [INFO] YAML妯℃澘澶勭悊鎴愬姛 app-configs/manifests/app.yaml -> .manifest
[10:48:11] [INFO] 鎵�鏈夐儴缃茶祫婧愶細
[10:48:11] /root/workspace/spring-boot_qx9C/.manifest:
[10:48:12] total 4
[10:48:12] ———- 1 root root 328 1鏈� 5 10:48 app.yaml
[10:48:12] [INFO] 鍗冲皢鍙戝竷鍒扮嚎涓婄殑璧勬簮鍒楄〃
[10:48:12] error: error loading config file “/root/.kube/config”: v1.Config.AuthInfos: []v1.NamedAuthInfo: v1.NamedAuthInfo.AuthInfo: v1.AuthInfo.ClientKeyData: ClientCertificateData: decode base64: illegal base64 data at input byte 14, error found in #10 byte of …|ode1.pem)”,”client-k|…, bigger context …|Ti… (base64 /etc/kubernetes/ssl/node-node1.pem)”,”client-key-data”:”LS0tLS1CRUdJTiBS.. (base64 /et|…
[10:48:12]
[10:48:12] [INFO] 閮ㄧ讲鍙樻洿鍒癒ubernetes闆嗙兢 kubectl apply -f /root/workspace/spring-boot_qx9C/.manifest
[10:48:12] error: error loading config file “/root/.kube/config”: v1.Config.AuthInfos: []v1.NamedAuthInfo: v1.NamedA

以下为热心网友提供的参考意见

根据您提供的错误信息,问题可能出在您的Kubernetes配置文件中。错误提示为:error: error loading config file "/root/.kube/config": v1.Config.AuthInfos: []v1.NamedAuthInfo: v1.NamedAuthInfo.AuthInfo: v1.AuthInfo.ClientKeyData: ClientCertificateData: decode base64: illegal base64 data at input byte 14, error found in #10 byte of ...|ode1.pem)","client-k|..., bigger context ...|Ti... (base64 /etc/kubernetes/ssl/node-node1.pem)","client-key-data":"LS0tLS1CRUdJTiBS.. (base64 /et|...

这个错误表明在解析您的Kubernetes配置文件时,遇到了非法的base64数据。为了解决这个问题,您可以尝试以下方法:

  1. 检查您的Kubernetes配置文件(通常位于/root/.kube/config)中的证书文件路径是否正确。确保它们指向正确的文件,并且文件内容是有效的base64编码。

  2. 如果证书文件路径正确,但仍然出现错误,您可以尝试重新生成或更新证书文件。这可能需要您联系云效支持团队以获取帮助。

  3. 确保您的操作系统和客户端环境支持base64解码。如果您在Windows上遇到问题,您可能需要安装一个额外的工具,如Cygwin或Git Bash,以支持base64解码。

以下为热心网友提供的参考意见

error: error loading config file “/root/.kube/config”: v1.Config.AuthInfos: []v1.NamedAuthInfo: v1.NamedAuthInfo.AuthInfo: v1.AuthInfo.ClientKeyData: ClientCertificateData: decode base64: illegal base64 data at input byte 14, error found in #10 byte of …|ode1.pem)”,”client-k|…, bigger context …|Ti… (base64 /etc/kubernetes/ssl/node-node1.pem)”,”client-key-data”:”LS0tLS1CRUdJTiBS.. (base64 /et|…看看你的配置文件吧,配置文件中的 base64 编码数据是非法的。此回答整理自钉群“云效交付域答疑群”

本文来自投稿,不代表新手站长_郑州云淘科技有限公司立场,如若转载,请注明出处:https://www.cnzhanzhang.com/21303.html

(0)
匿名
上一篇 2024年1月10日
下一篇 2024年1月10日

相关推荐

新手站长从“心”出发,感谢16年您始终不离不弃。