EKS setup error messages are unclear

Bug #1888597 reported by Tim McNamara
6
This bug affects 1 person
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://eksctl.io/introduction/#installation), login, and try again

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).

Revision history for this message
Tim McNamara (tim-clicks) wrote :
Ian Booth (wallyworld)
tags: added: add-k8s
tags: added: k8s
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

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.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.