aws-samples / aws-samples/eks-workshop-v2
[Bug]: Incorrect diagram and confusing ALB references in page on IP mode
- Dominant language
- HCL
- Stars
- 626
- Forks
- 613
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 9
Description
### Installation method
Workshop Studio
### What happened?
On this page:
[website/docs/fundamentals/exposing/loadbalancer/ip-mode.md](https://github.com/aws-samples/eks-workshop-v2/blob/9c8f610bcb2ad6f115f28b11c78a54501e9e1647/website/docs/fundamentals/exposing/loadbalancer/ip-mode.md)
The page continues from where the previous one left off i.e. using an NLB, and starts to explain "IP mode". But it then shows an irrelevant ALB diagram with number labels that are not referenced anywhere. Is this the right diagram?
The page then continues talking about the NLB, but uses `ALB_ARN` in the command sequence:
```
ALB_ARN=$(aws elbv2 describe-load-balancers --query 'LoadBalancers[?contains(LoadBalancerName, `k8s-ui-uinlb`) == `true`].LoadBalancerArn' | jq -r '.[0]')
TARGET_GROUP_ARN=$(aws elbv2 describe-target-groups --load-balancer-arn $ALB_ARN | jq -r '.TargetGroups[0].TargetGroupArn')
```
### What did you expect to happen?
Expected a diagram showing an NLB, depicting the difference between instance mode and IP mode
### How can we reproduce it?
Not a code bug. It is a document bug.
### Anything else we need to know?
_No response_
### EKS version
1.23
Contributor guide
Assessment
This issue has not been assessed yet.