Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
293573c6
Unverified
Commit
293573c6
authored
1 year ago
by
Kay Yan
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
update-docs-for-calico-in-centos (#10417)
parent
5ffdb735
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/centos.md
+0
-4
0 additions, 4 deletions
docs/centos.md
docs/rhel.md
+0
-4
0 additions, 4 deletions
docs/rhel.md
with
0 additions
and
8 deletions
docs/centos.md
+
0
−
4
View file @
293573c6
...
@@ -7,10 +7,6 @@ Kubespray supports multiple ansible versions but only the default (5.x) gets wid
...
@@ -7,10 +7,6 @@ Kubespray supports multiple ansible versions but only the default (5.x) gets wid
## CentOS 8
## CentOS 8
CentOS 8 / Oracle Linux 8,9 / AlmaLinux 8,9 / Rocky Linux 8,9 ship only with iptables-nft (ie without iptables-legacy similar to RHEL8)
The only tested configuration for now is using Calico CNI
You need to add
`calico_iptables_backend: "NFT"`
to your configuration.
If you have containers that are using iptables in the host network namespace (
`hostNetwork=true`
),
If you have containers that are using iptables in the host network namespace (
`hostNetwork=true`
),
you need to ensure they are using iptables-nft.
you need to ensure they are using iptables-nft.
An example how k8s do the autodetection can be found
[
in this PR
](
https://github.com/kubernetes/kubernetes/pull/82966
)
An example how k8s do the autodetection can be found
[
in this PR
](
https://github.com/kubernetes/kubernetes/pull/82966
)
This diff is collapsed.
Click to expand it.
docs/rhel.md
+
0
−
4
View file @
293573c6
...
@@ -29,10 +29,6 @@ If the RHEL 7/8 hosts are already registered to a valid Red Hat support subscrip
...
@@ -29,10 +29,6 @@ If the RHEL 7/8 hosts are already registered to a valid Red Hat support subscrip
## RHEL 8
## RHEL 8
RHEL 8 ships only with iptables-nft (ie without iptables-legacy)
The only tested configuration for now is using Calico CNI
You need to use K8S 1.17+ and to add
`calico_iptables_backend: "NFT"`
to your configuration
If you have containers that are using iptables in the host network namespace (
`hostNetwork=true`
),
If you have containers that are using iptables in the host network namespace (
`hostNetwork=true`
),
you need to ensure they are using iptables-nft.
you need to ensure they are using iptables-nft.
An example how k8s do the autodetection can be found
[
in this PR
](
https://github.com/kubernetes/kubernetes/pull/82966
)
An example how k8s do the autodetection can be found
[
in this PR
](
https://github.com/kubernetes/kubernetes/pull/82966
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment