1 Answer
- Newest
- Most votes
- Most comments
1
Hi Tom Lo
Here's how you can resolve the conflicts:
- Review DaemonSet Configuration: First, review the configuration of the aws-node DaemonSet. You'll need to find where the ENABLE_PREFIX_DELEGATION and ENABLE_POD_ENI parameters are configured and ensure that they are consistent with your desired settings.
- Update DaemonSet Configuration: Once you've identified the configuration section for the aws-node DaemonSet, update it to reflect the desired values for ENABLE_PREFIX_DELEGATION and ENABLE_POD_ENI.
- Apply Configuration Changes: After updating the DaemonSet configuration, apply the changes to your EKS cluster. You can use kubectl apply or any other method you prefer to apply the changes.
Here's a general example of what the DaemonSet configuration might look like:
yaml
Copy code
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: aws-node
namespace: kube-system
spec:
selector:
matchLabels:
app: aws-node
template:
metadata:
labels:
app: aws-node
spec:
containers:
- name: aws-node
image: amazon/amazon-eks-cni:v1.9.0
env:
- name: ENABLE_PREFIX_DELEGATION
value: 'true'
- name: ENABLE_POD_ENI
value: 'true'
Other container configuration...
Ensure that the env section within the spec reflects your desired values for ENABLE_PREFIX_DELEGATION and ENABLE_POD_ENI.
By updating the Daemon Set configuration to reflect the desired settings, you should be able to resolve the conflicts encountered during the VPC CNI upgrade process. Make sure to test the changes in a non-production environment before applying them to your production cluster.
answered a month ago
Relevant content
- asked a year ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
My problem is I cannot upgrade the VPC CNI addon in AWS EKS console. And the problem is config conflict which the config AWS EKS going to apply does not contain those 2 parameters presents in my current daemon set which cause the conflict.