Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Use a variable for the node group name TDE-1255 #782

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/infrastructure/kubernetes.version.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,24 +100,24 @@ This process is necessary to avoid being blocked for a future Kubernetes version
1. Find the nodegroup name for the cluster

```bash
aws eks list-nodegroups --cluster-name Workflows
node_group_name="$(aws eks list-nodegroups --cluster-name=Workflows | jq --raw-output '.nodegroups[]')"
l0b0 marked this conversation as resolved.
Show resolved Hide resolved
```
2. Describe the nodegroup to validate the versions

By describing the node group you can check the current version, or you can use `k get nodes` to see what version is currently running

```bash
aws eks describe-nodegroup --cluster-name Workflows --nodegroup-name EksWorkflowsNodegroupCluste
aws eks describe-nodegroup --cluster-name=Workflows --nodegroup-name="$node_group_name" | jq --raw-output .nodegroup.version
```

3. Update the version to match

```bash
aws eks update-nodegroup-version --cluster-name Workflows --nodegroup-name EksWorkflowsNodegroupCluste-OWsXxRuVz2B7
aws eks update-nodegroup-version --cluster-name=Workflows --nodegroup-name="$node_group_name"
```

This step takes some time to run. You can wait for it to finish with this command:

```bash
aws eks wait nodegroup-active --cluster-name=Workflows --nodegroup-name=EksWorkflowsNodegroupCluste-OWsXxRuVz2B7
aws eks wait nodegroup-active --cluster-name=Workflows --nodegroup-name="$node_group_name"
```