Skip to content

Commit

Permalink
Minor doc fixes about running eksctl commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Mar 25, 2024
1 parent 048b0bb commit c1ffde6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/hub-deployment-guide/new-cluster/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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.
Expand Down

0 comments on commit c1ffde6

Please sign in to comment.