File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -161,22 +161,37 @@ containers:
161
161
- name: ENABLE_POD_ENI
162
162
value: "true"
163
163
```
164
+ If you are using ConfigMaps that are referred from VPC CNI containers' ` env ` , you need have the same key/value pair setup in the referred ConfigMap.
164
165
165
166
** Resolution**
166
167
If the environment variable is not set,
167
168
168
169
- Follow the guide to [ enable SGP feature] ( https://docs.aws.amazon.com/eks/latest/userguide/security-groups-for-pods.html ) .
169
170
170
171
### Verify Trunk ENI is created
172
+ Get the EKS managed CRD CNINode
173
+ ```
174
+ kubectl get cninode <NODDE_NAME>
175
+ ```
176
+ The CNINode's FEATURE column should have
177
+ ```
178
+ [{"name":"SecurityGroupsForPods"}]
179
+ ```
171
180
172
- Describe the Node,
181
+ Alternatively, you can check node for further confirming.
182
+ Describe the Node
173
183
```
174
- kubectl describe node node-name
184
+ kubectl describe node <NODE_NAME>
185
+ ```
186
+
187
+ The following annotation will be added in node's ` Capacity ` and ` Allocatable ` if Trunk ENI is created successfully
188
+ ```
189
+ vpc.amazonaws.com/pod-eni: 9 (could be other values depending on your instance type)
175
190
```
176
191
177
- The following label will be set if Trunk ENI is created,
192
+ Your node should also receive an event like the following:
178
193
```
179
- Labels: vpc.amazonaws.com/ has- trunk-attached=true
194
+ Normal NodeTrunkInitiated 5m12s vpc-resource-controller The node has trunk interface initialized successfully
180
195
```
181
196
182
197
** Resolution**
You can’t perform that action at this time.
0 commit comments