aws-samples / aws-samples/amazon-cloudwatch-container-insights
Add nodeSelector to prevent scheduled pods on Windows worker nodes
- Dominant language
- Shell
- Stars
- 178
- Forks
- 117
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 3
Description
It's becoming common the multi OS worker nodes on the EKS.
When deployment the DaemonSet as no `nodeSelector` is added the pods will try to be scheduled on Windows nodes and fail.
Solution idea, is to add the node selector to based on the Operational System with
```
nodeSelector:
beta.kubernetes.io/os: linux
```
Contributor guide
Research direction
Locate the Kubernetes DaemonSet YAML templates described in the repository and inspect how their pod scheduling is configured. Verify the affected DaemonSet templates prevent scheduling on Windows worker nodes, then validate the rendered manifests or available Kubernetes checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100