Skip to content

Commit 63b6999

Browse files
authored
Remove step 3 for clusters <1.27 (#1100)
1 parent 2833a57 commit 63b6999

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

latest/ug/networking/cni-network-policy-configure.adoc

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -146,30 +146,9 @@ kubectl edit daemonset -n kube-system aws-node
146146
----
147147
148148
149-
[#cni-mount-bpf]
150-
== Step 3: Mount the Berkeley Packet Filter (BPF) file system on your nodes
151-
152-
You must mount the Berkeley Packet Filter (BPF) file system on each of your nodes.
153-
154-
[NOTE]
155-
====
156-
157-
If your cluster is version `1.27` or later, you can skip this step as all Amazon EKS optimized Amazon Linux and Bottlerocket AMIs for `1.27` or later have this feature already.
158-
159-
For all other cluster versions, if you upgrade the Amazon EKS optimized Amazon Linux to version `v20230703` or later or you upgrade the Bottlerocket AMI to version `v1.0.2` or later, you can skip this step.
160-
161-
====
162-
. Mount the Berkeley Packet Filter (BPF) file system on each of your nodes.
163-
+
164-
[source,shell,subs="verbatim,attributes"]
165-
----
166-
sudo mount -t bpf bpffs /sys/fs/bpf
167-
----
168-
. Then, add the same command to your user data in your launch template for your Amazon EC2 Auto Scaling Groups.
169-
170149
171150
[#cni-network-policy-setup]
172-
== Step 4: Configure your cluster to use Kubernetes network policies
151+
== Step 3: Configure your cluster to use Kubernetes network policies
173152
174153
You can set this for an Amazon EKS add-on or self-managed add-on.
175154
@@ -274,7 +253,7 @@ kubectl edit daemonset -n kube-system aws-node
274253
====
275254
276255
[#cni-network-policy-setup-procedure-confirm]
277-
== Step 5. Next steps
256+
== Step 4. Next steps
278257
279258
After you complete the configuration, confirm that the `aws-node` pods are running on your cluster.
280259

0 commit comments

Comments
 (0)