Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release-1.28] - Add nft to k3s-root userspace bundle #11294

Closed
dereknola opened this issue Nov 12, 2024 · 1 comment
Closed

[Release-1.28] - Add nft to k3s-root userspace bundle #11294

dereknola opened this issue Nov 12, 2024 · 1 comment
Assignees
Milestone

Comments

@dereknola
Copy link
Member

Backport fix for Add nft to k3s-root userspace bundle

@fmoral2
Copy link
Contributor

fmoral2 commented Nov 13, 2024

proxy mode not available on 128

just doing normal validations

Validated on Version:

-$ k3s version v1.28.15+k3s-46fbfb7e (46fbfb7e)

Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:
ubuntu
AMD

Cluster Configuration:
-1 node server

Steps to validate the fix

  1. Install k3s with arg for kube-proxy-arg=proxy-mode=nftables
  2. Make sure that nft is not installed or present on the host
  3. Validate k3s starts and works just fine as expected.

Reproduction Issue:

 
 

Validation Results:

  ~$ kgn
NAME             STATUS   ROLES                  AGE   VERSION
ip-    Ready    control-plane,master   12s   v1.28.15+k3s-46fbfb7e

$ kgp -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE
kube-system   coredns-559656f558-5cr64                  1/1     Running     0          21s
kube-system   helm-install-traefik-crd-p66l8            0/1     Completed   0          21s
kube-system   helm-install-traefik-k7bxg                0/1     Completed   1          21s
kube-system   local-path-provisioner-7677785564-fbx7p   1/1     Running     0          20s
kube-system   metrics-server-7cbbc464f4-kts2v           0/1     Running     0          20s
kube-system   svclb-traefik-88013a91-2rplb              2/2     Running     0          6s
kube-system   traefik-6c7b69cd74-bxjmp                  0/1     Running     0          6s


$ kubectl apply -f https://gist.githubusercontent.com/rancher-max/5b160babb714d8d5a123df6a24ec9b3d/raw/7e2d36fbf735e6d1e2a8e10cc2cf1ce19ea7c978/workloads.yaml
namespace/auto-clusterip created
deployment.apps/test-clusterip created
service/nginx-clusterip-svc created
namespace/auto-daemonset created
daemonset.apps/test-daemonset created
namespace/auto-dns created
pod/dnsutils created
namespace/auto-ingress created
ingress.networking.k8s.io/test-ingress created
networkpolicy.networking.k8s.io/allow-all-ingress created
service/nginx-ingress-svc created
replicationcontroller/test-ingress created
namespace/auto-nodeport created
deployment.apps/test-nodeport created
service/nginx-nodeport-svc created


~$ kgp -A
NAMESPACE        NAME                                      READY   STATUS      RESTARTS   AGE
auto-clusterip   test-clusterip-8496c7779d-npnsm           1/1     Running     0          25s
auto-clusterip   test-clusterip-8496c7779d-pcxh7           1/1     Running     0          25s
auto-daemonset   test-daemonset-h69sv                      1/1     Running     0          25s
auto-dns         dnsutils                                  1/1     Running     0          25s
auto-ingress     test-ingress-9fhhp                        1/1     Running     0          25s
auto-ingress     test-ingress-f88q5                        1/1     Running     0          24s
auto-nodeport    test-nodeport-644767cc74-46rvx            1/1     Running     0          24s
auto-nodeport    test-nodeport-644767cc74-sml8r            1/1     Running     0          24s
kube-system      coredns-559656f558-5cr64                  1/1     Running     0          62s
kube-system      helm-install-traefik-crd-p66l8            0/1     Completed   0          62s
kube-system      helm-install-traefik-k7bxg                0/1     Completed   1          62s
kube-system      local-path-provisioner-7677785564-fbx7p   1/1     Running     0          61s
kube-system      metrics-server-7cbbc464f4-kts2v           1/1     Running     0          61s
kube-system      svclb-traefik-88013a91-2rplb              2/2     Running     0          47s
kube-system      traefik-6c7b69cd74-bxjmp                  1/1     Running     0          47s



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done Issue
Development

No branches or pull requests

3 participants