简体   繁体   English

詹金斯:无法连接到服务器。 找不到可执行的 aws

[英]Jenkins: Unable to connect to the server. executable aws not found

I run Jenkins on OS X and at one step, I receive the following error,我在 OS X 上运行 Jenkins,在一个步骤中,我收到以下错误,

Constructing AWS CredentialsSetting AWS region us-east-1a 
 [Pipeline] {
[Pipeline] sh
+ echo 'Deploy blue container...'
Deploy blue container...
[Pipeline] sh
+ /usr/local/bin/kubectl apply -f ./blue/blue.yaml
Unable to connect to the server: getting credentials: exec: executable aws not found

It looks like you are trying to use a client-go credential plugin that is not installed.

To learn more about this feature, consult the documentation available at:
      https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins

The error informs that executable AWS not found.该错误通知找不到可执行的 AWS。 How do I provide it to the Jenkins?我如何将它提供给詹金斯?

PS: PS:

$ aws --version 
aws-cli/2.2.3 Python/3.8.8 Darwin/19.6.0 exe/x86_64 prompt/off

I delete the minikube and started again.我删除了 minikube 并重新开始。 After that this is fine:之后这很好:

minukube delete
minukube start

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

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