From c1ffde6473e32d8a5ae610e28b9a528fdefabb8a Mon Sep 17 00:00:00 2001 From: Sarah Gibson <44771837+sgibson91@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:56:06 +0000 Subject: [PATCH] Minor doc fixes about running eksctl commands --- docs/hub-deployment-guide/new-cluster/aws.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/hub-deployment-guide/new-cluster/aws.md b/docs/hub-deployment-guide/new-cluster/aws.md index 6c985d698f..6a81c8be1a 100644 --- a/docs/hub-deployment-guide/new-cluster/aws.md +++ b/docs/hub-deployment-guide/new-cluster/aws.md @@ -105,6 +105,10 @@ for all the possible options. You'd want to make sure to change at least the fol Once you have a `.jsonnet` file, you can render it into a config file that eksctl can read. +```{tip} +Make sure to run this command inside the `eksctl` directory. +``` + ```bash jsonnet $CLUSTER_NAME.jsonnet > $CLUSTER_NAME.eksctl.yaml ``` @@ -119,12 +123,12 @@ against the `*.jsonnet` file and regenerate the YAML file when needed by a Now you're ready to create the cluster! -```bash -eksctl create cluster --config-file=$CLUSTER_NAME.eksctl.yaml +```{tip} +Make sure to run this command **inside** the `eksctl` directory, otherwise it cannot discover the `ssh-keys` subfolder. ``` -```{tip} -Make sure the run this command **inside** the `eksctl` directory, otherwise it cannot discover the `ssh-keys` subfolder. +```bash +eksctl create cluster --config-file=$CLUSTER_NAME.eksctl.yaml ``` This might take a few minutes.