Skip to content

Commit

Permalink
add comments for hostnetowrk
Browse files Browse the repository at this point in the history
  • Loading branch information
icewhiteHsu committed Oct 4, 2024
1 parent 24b12df commit 8c5f2e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/cloud-provider/aws-ccm.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ spec:
resources:
requests:
cpu: 200m
# We speculatively set hostNetwork to true for the AWS CCM to connect to the AWS API
# https://shazi.info/amazon-eks-pod-%E5%AD%98%E5%8F%96-imdsv2-%E7%95%B0%E5%B8%B8%E7%B7%A9%E6%85%A2%E8%99%95%E7%90%86/
hostNetwork: true
nodeSelector:
node-role.kubernetes.io/master: ""
Expand Down

0 comments on commit 8c5f2e3

Please sign in to comment.