This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/examples/aws-eks/README.md
Sam Alba abdcb7e093 added kubeconfig code in the example + updated readme
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 15:53:55 -07:00

324 B

Kubernetes on AWS (EKS)

This example creates a new EKS cluster and outputs its corresponding kubeconfig

How to run

dagger compute . \
    --input-string awsConfig.accessKey="MY_AWS_ACCESS_KEY" \
    --input-string awsConfig.secretKey="MY_AWS_SECRET_KEY" \
    | jq -j '.kubeconfig.kubeconfig' > kubeconfig