Browse Source

Fix Fedora CI following ipset version in kube-proxy for k8s 1.23 (#8397)

pull/8409/head
Florian Ruynat 2 years ago
committed by GitHub
parent
commit
d007132655
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions
  1. 4
      tests/files/packet_fedora34-calico-selinux.yml
  2. 4
      tests/files/packet_fedora35-docker-calico.yml

4
tests/files/packet_fedora34-calico-selinux.yml

@ -5,6 +5,10 @@ mode: default
# Kubespray settings
auto_renew_certificates: true
# Switching to iptable due to https://github.com/projectcalico/calico/issues/5011
# Kubernetes v1.23.0 kube-proxy does use v.7.x now. Calico v3.20.x/v3.21.x Pods show the following error
# Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.1: Kernel and userspace incompatible: settype hash:ip,port with revision 6 not supported by userspace.
kube_proxy_mode: iptables
# Test with SELinux in enforcing mode
preinstall_selinux_state: enforcing

4
tests/files/packet_fedora35-docker-calico.yml

@ -5,6 +5,10 @@ mode: default
# Kubespray settings
auto_renew_certificates: true
# Switching to iptable due to https://github.com/projectcalico/calico/issues/5011
# Kubernetes v1.23.0 kube-proxy does use v.7.x now. Calico v3.20.x/v3.21.x Pods show the following error
# Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.1: Kernel and userspace incompatible: settype hash:ip,port with revision 6 not supported by userspace.
kube_proxy_mode: iptables
# Docker specific settings:
container_manager: docker

Loading…
Cancel
Save