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.24] Migrate netutil methods into /utils/net.go #7434

Closed
manuelbuil opened this issue May 5, 2023 · 1 comment
Closed

[Release 1.24] Migrate netutil methods into /utils/net.go #7434

manuelbuil opened this issue May 5, 2023 · 1 comment
Assignees
Milestone

Comments

@manuelbuil
Copy link
Contributor

Backport: #7421

@fmoral2
Copy link
Contributor

fmoral2 commented May 8, 2023

Validated on Version:

Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:
Ubuntu 22.04
CENTOS 7
SLES 15 SP4

Cluster Configuration:
1 node

Config.yaml 1 server node :

write-kubeconfig-mode: 644
token: test
selinux: true
protect-kernel-defaults: true
cluster-init: true

Steps to validate the fix:

  1. Create 1 node cluster
  2. Install k3s
  3. Deploy some workloads
  4. Restart
  5. Check the workloads are running and ready
  6. Check apiservices are up

Validation Results:

             
~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"

$ kubectl get apiservices
NAME                                   SERVICE                      AVAILABLE   AGE
v1.                                    Local                        True        32m
v1.admissionregistration.k8s.io        Local                        True        32m
v1.apiextensions.k8s.io                Local                        True        32m
v1.apps                                Local                        True        32m
v1.authentication.k8s.io               Local                        True        32m
v1.authorization.k8s.io                Local                        True        32m
v1.autoscaling                         Local                        True        32m
v1.batch                               Local                        True        32m
v1.certificates.k8s.io                 Local                        True        32m
v1.coordination.k8s.io                 Local                        True        32m
v1.discovery.k8s.io                    Local                        True        32m
v1.events.k8s.io                       Local                        True        32m
v1.helm.cattle.io                      Local                        True        9m18s
v1.k3s.cattle.io                       Local                        True        9m18s
v1.networking.k8s.io                   Local                        True        32m
v1.node.k8s.io                         Local                        True        32m
v1.policy                              Local                        True        32m
v1.rbac.authorization.k8s.io           Local                        True        32m
v1.scheduling.k8s.io                   Local                        True        32m
v1.storage.k8s.io                      Local                        True        32m
v1alpha1.traefik.containo.us           Local                        True        9m18s
v1beta1.batch                          Local                        True        32m
v1beta1.discovery.k8s.io               Local                        True        32m
v1beta1.events.k8s.io                  Local                        True        32m
v1beta1.flowcontrol.apiserver.k8s.io   Local                        True        32m
v1beta1.metrics.k8s.io                 kube-system/metrics-server   True        31m
v1beta1.node.k8s.io                    Local                        True        32m
v1beta1.policy                         Local                        True        32m
v1beta1.storage.k8s.io                 Local                        True        32m
v1beta2.flowcontrol.apiserver.k8s.io   Local                        True        32m
v2.autoscaling                         Local                        True        32m
v2beta1.autoscaling                    Local                        True        32m
v2beta2.autoscaling                    Local                        True        32m


$ k get pods,nodes -A


NAMESPACE     NAME                                          READY   STATUS      RESTARTS   AGE
default       pod/test-clusterip-7d6c4cf589-2gfhl           1/1     Running     0          26s
default       pod/test-clusterip-7d6c4cf589-fmf2d           1/1     Running     0          26s
default       pod/test-ingress-dvccw                        1/1     Running     0          6s
default       pod/test-ingress-k8bmz                        1/1     Running     0          6s
kube-system   pod/coredns-74448699cf-bc48p                  1/1     Running     0          5m18s
kube-system   pod/helm-install-traefik-4qvtz                0/1     Completed   0          5m19s
kube-system   pod/helm-install-traefik-crd-r45tz            0/1     Completed   0          5m19s
kube-system   pod/local-path-provisioner-597bc7dccd-d6gdb   1/1     Running     0          5m18s
kube-system   pod/metrics-server-667586758d-tn5sx           1/1     Running     0          30m
kube-system   pod/svclb-traefik-e6915a76-wt6gd              2/2     Running     0          5m13s
kube-system   pod/traefik-64b96ccbcd-z784n                  1/1     Running     0          30m





Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants