Comments (5)
You can use this
- id: install-aws-cli
uses: unfor19/install-aws-cli-action@v1
- run: aws eks update-kubeconfig --region us-east-1 --name cluster1
- run: kubectl get pods
from kubectl.
Hi. Thanks for the feedback.
It looks like you need to have installed aws cli
to connect to the EKS cluster. This action does not have this cli. And I'm not sure that it will be added. The best option will be to find some AWS action and use it.
from kubectl.
Hi I have the same error:
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
But the aws cli is present because running
aws --version
works and gives expected output. Github hosted VMs are supposed to have the aws cli installed and by the looks of it they do, so how can the aws exe be not present ?
Workflow code:
steps:
- name: aws v check
run: aws --version
- name: Deploy to dev
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -f k8s/dev/k8s.yml
from kubectl.
Any updates here? Running into the same...
from kubectl.
@MKRNaqeebi this works, but where does the kubectl command get installed exactly? From unfor19/install-aws-cli-action@v1?
from kubectl.
Related Issues (20)
- truncated base64 input HOT 1
- Run kubectl kustomize without KUBE_CONFIG or KUBE_HOST
- [Feature] Set `kubectl` output as workflow variable
- Publish Image HOT 1
- Executable aws not found HOT 4
- Unable to connect to the server HOT 2
- Why cant this action use the aws cli? HOT 1
- cluster-info HOT 1
- KUBE_CONFIG gets utf-8 error HOT 1
- Always throws an error "It looks like you are trying to use a client-go credential plugin that is not installed." HOT 2
- How to annotate deployment?
- Input `redirect-to` is not working HOT 4
- Not able to connect to docker
- Can only execute one command? HOT 1
- "aws": executable file not found in $PATH HOT 3
- k8s in self-hosted github runner - tcp 127.0.0.1:6443: connection refused HOT 3
- How to pass manifest file to command
- Feature Request: ignore error flag
- Add option to specify namespace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubectl.