add kubespray to the XTesting as it provides newer version of kubenetes and can be...
[it/test.git] / XTesting / kubespray / docs / centos.md
1 # CentOS and derivatives
2
3 ## CentOS 7
4
5 The maximum python version offically supported in CentOS is 3.6. Ansible as of version 5 (ansible core 2.12.x) increased their python requirement to python 3.8 and above.
6 Kubespray supports multiple ansible versions but only the default (5.x) gets wide testing coverage. If your deployment host is CentOS 7 it is recommended to use one of the earlier versions still supported.
7
8 ## CentOS 8
9
10 CentOS 8 / Oracle Linux 8 / AlmaLinux 8 / Rocky Linux 8 ship only with iptables-nft (ie without iptables-legacy similar to RHEL8)
11 The only tested configuration for now is using Calico CNI
12 You need to add `calico_iptables_backend: "NFT"` to your configuration.
13
14 If you have containers that are using iptables in the host network namespace (`hostNetwork=true`),
15 you need to ensure they are using iptables-nft.
16 An example how k8s do the autodetection can be found [in this PR](https://github.com/kubernetes/kubernetes/pull/82966)