Skip to content

Commit

Permalink
Fix Fedora CI following ipset version in kube-proxy for k8s 1.23 (kub…
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut authored and sakuraiyuta committed Apr 16, 2022
1 parent c6bca31 commit b6dd170
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/files/packet_fedora34-calico-selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 4 additions & 0 deletions tests/files/packet_fedora35-docker-calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6dd170

Please sign in to comment.