Skip to content

Commit

Permalink
Latest changes being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Bijith Nair committed Aug 30, 2023
1 parent cc9c9ab commit 48314b7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
1 change: 0 additions & 1 deletion eks-workshop-v2
Submodule eks-workshop-v2 deleted from 6d74db
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ spec:
template:
spec:
nodeSelector:
capacity_type: maanaged_spot
capacity_type: managed_spot
23 changes: 0 additions & 23 deletions website/docs/fundamentals/managed-node-groups/spot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,27 +149,4 @@ Output:
NAME STATUS NODE
catalog-5c48f886c-rrbck Running ip-10-42-11-17.us-west-2.compute.internal
catalog-mysql-0 Running ip-10-42-12-234.us-west-2.compute.internal
```
### Visualize the Node Usage
Install "[eks-node-viewer](https://github.com/awslabs/eks-node-viewer)" for visualizing dynamic node usage within a cluster.
```bash
$ go install github.com/awslabs/eks-node-viewer/cmd/eks-node-viewer@latest
$ sudo mv -v ~/go/bin/eks-node-viewer /usr/local/bin
```
:::info
* This step may take about 2-3 minutes to download all the dependencies and install <b>eks-node-viewer</b>
* Post Installation, Make sure you run `eks-node-viewer` in a seperate terminal or else you will not see the colors in the output
:::
Please open a separate terminal and execute below commands for the EKS Node Viewer tool for both `ON_DEMAND` and `SPOT` nodegroups. This will allow you to observe the number of pods currently running on each node and view the corresponding monthly cost associated with those nodes.
```bash
$ eks-node-viewer --node-selector "eks.amazonaws.com/capacityType=ON_DEMAND"
```
```bash
$ eks-node-viewer --node-selector "eks.amazonaws.com/capacityType=SPOT"
```

0 comments on commit 48314b7

Please sign in to comment.