Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Oguzhan Yilmaz committed Nov 3, 2023
1 parent f6d2066 commit 0bdb78e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ kubectl rollout restart ds/aws-node -n kube-system
- `ENIConfig` has the info about which Subnet and Security Groups should be used for the ENI.
- Our nodes will have their 1st ENI configured with the default VPC CIDR block, and the 2nd ENI will be configured with the Secondary CIDR block.
- Pods get their IPs from 2nd ENI, and the 1st ENI is used for the node communication.
- We will have 1st ENI reserved for pods, and all other ENIs will be used for the pod communication and in the Secondary CIDR block.
- We will have 1st ENI reserved for Nodes, and all other ENIs will be used for the pod communication and in the Secondary CIDR block.
- `AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true`:
- AWS CNI will use the `ENIConfig` objects which we create to configure the ENIs.
- Enables the Custom Network Configuration for AWS CNI. This change will help us to use the secondary CIDR block for the pods.
- AWS CNI will use the `ENIConfig` objects to create and configure the ENIs.
- AWS CNI will look for the label `${ENI_CONFIG_LABEL_DEF}` on the node, and will use the value of that label to find the `ENIConfig` object by name.
- This means that we are enabling custom networking on the CNI level. This change will help us to use the secondary CIDR block for the pods.
- This configuration **requires the existing node EC2 Instances be be restarted to take effect**.

#### More on ENIConfig CRDs
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repo_name: oguzhan-yilmaz/karpenter-eks-vpc-secondary-cidr

nav:
- Home: README.md
- "Karpenter v1beta(v0.32+)": karpenter-v1beta-configuration.md
- "Karpenter v1beta (v0.32+)": karpenter-v1beta-configuration.md
- "Karpenter v1alpha -> v1beta1 migration": migrate-from-awsnodetemplate-to-nodeclass.md
- "Multi NodeClass Strategy": multi-nodeclass-strategy.md
- "Demo: CNI Custom Networking":
Expand Down

0 comments on commit 0bdb78e

Please sign in to comment.