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.27] - OS release for K3s images shows K3s dev #9142

Closed
brandond opened this issue Jan 3, 2024 · 2 comments
Closed

[Release-1.27] - OS release for K3s images shows K3s dev #9142

brandond opened this issue Jan 3, 2024 · 2 comments
Assignees
Milestone

Comments

@brandond
Copy link
Member

brandond commented Jan 3, 2024

Backport fix for OS release for K3s images shows K3s dev

@brandond brandond self-assigned this Jan 3, 2024
@caroline-suse-rancher caroline-suse-rancher added this to the v1.27.10+k3s1 milestone Jan 3, 2024
@VestigeJ
Copy link

VestigeJ commented Jan 8, 2024

Adding to post-release task list.

@VestigeJ
Copy link

VestigeJ commented Jan 22, 2024

$ kgn -o wide

NAME             STATUS   ROLES                  AGE   VERSION             INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                KERNEL-VERSION                 CONTAINER-RUNTIME
k3s-server-127   Ready    control-plane,master   12s   v1.27.10-rc2+k3s1   172.17.0.2    <none>        K3s v1.27.10-rc2+k3s1   5.14.21-150500.55.44-default   containerd://1.7.11-k3s2.27

##Environment Details
Validated using VERSION=v1.27.10-rc2-k3s1

Infrastructure

  • Cloud

Node(s) CPU architecture, OS, and version:

Linux 5.14.21-150500.55.44-default x86_64 GNU/Linux
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"

Cluster Configuration:

NAME             STATUS   ROLES                  AGE   VERSION             INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                KERNEL-VERSION                 CONTAINER-RUNTIME
k3s-server-127   Ready    control-plane,master   12s   v1.27.10-rc2+k3s1   172.17.0.2    <none>        K3s v1.27.10-rc2+k3s1   5.14.21-150500.55.44-default   containerd://1.7.11-k3s2.27

Config.yaml:
N/A

Validation

$ sudo systemctl enable docker --now
$ sudo /usr/bin/docker run --privileged --name k3s-server-127 --hostname k3s-server-127 -p 6443:6443 -d rancher/k3s:v1.27.10-rc2-k3s1 server
$ sudo mkdir -p /etc/rancher/k3s/
$ sudo docker cp k3s-server-127:/etc/rancher/k3s/k3s.yaml /etc/rancher/k3s/k3s.yaml
$ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
$ chmod +x kubectl
$ sudo cp ./kubectl /usr/local/bin/
$ set_kubefig //export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
$ kgn //kubectl get nodes
$ kgn -o wide

Results:

pass ✅

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

No branches or pull requests

3 participants