我在 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
該錯誤通知找不到可執行的 AWS。我如何將它提供給詹金斯?
PS:
$ aws --version
aws-cli/2.2.3 Python/3.8.8 Darwin/19.6.0 exe/x86_64 prompt/off
uj5u.com熱心網友回復:
我洗掉了 minikube 并重新開始。之后這很好:
minukube delete
minukube start
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/342367.html
標籤:亚马逊网络服务 詹金斯 Kubernetes
