EKS setup error messages are unclear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
When attempting to add an Amazon EKS cluster to Juju, the instructions lead to a dead end.
$ juju add-k8s --eks --cluster-name hello hello-k8s
ERROR "eksctl" not found. Please install "eksctl" (see: https:/
After installing eksctl, there isn't actually a "login" command to follow:
$ eksctl
The official CLI for Amazon EKS
Usage: eksctl [command] [flags]
Commands:
eksctl completion Generates shell completion scripts for bash, zsh or fish
eksctl create Create resource(s)
eksctl delete Delete resource(s)
eksctl drain Drain resource(s)
eksctl enable Enable features in a cluster
eksctl generate Generate gitops manifests
eksctl get Get resource(s)
eksctl help Help about any command
eksctl scale Scale resources(s)
eksctl set Set values
eksctl unset Unset values
eksctl update Update resource(s)
eksctl upgrade Upgrade resource(s)
eksctl utils Various utils
eksctl version Output the version of eksctl
Common flags:
-C, --color string toggle colorized logs (valid options: true, false, fabulous) (default "true")
-h, --help help for this command
-v, --verbose int set log level, use 0 to silence, 4 for debugging and 5 for debugging with AWS debug logging (default 3)
Use 'eksctl [command] --help' for more information about a command.
Attempting to proceed further triggers another message. What does it mean for "ensure the account has been setup"? Which account? Where? How do I do this?
$ juju add-k8s --eks --cluster-name hello hello-k8s
ERROR please ensure the account has been setup and re-run this command
Attempting to search for "login" on the eksctl website doesn't return anything useful (see screenshot).
tags: | added: add-k8s |
tags: | added: k8s |
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.