Comments (2)
Testing on Liberty 8.9, no issues with the install script were seen. However, additional documentation is needed around setup requirements. SUSE Liberty by default does not include a repo that can provide container-selinux
package. Its possible with future releases one will be provided, but for now the workaround is to use Rocky Appstream repo (which is compatible)
# /etc/yum.repos.d/Appstream.repo
[appstream]
name=Rocky Linux $releasever - AppStream
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/
gpgcheck=0
enabled=1
Also, as with other RHEL style Operating Systems, nm-cloud-setup.service
needs to be disabled and node rebooted, per our Docs
After that is taken care of, K3s installs just fine
curl -sfL https://get.k3s.io/ | INSTALL_K3S_VERSION=v1.28.9+k3s1 INSTALL_K3S_CHANNEL=testing sh -
...
[INFO] Installing k3s to /usr/local/bin/k3s
[INFO] Finding available k3s-selinux versions
Rancher K3s Common (testing) 9.3 kB/s | 4.7 kB 00:00
Dependencies resolved.
=======================================================================================================================================================================================================
Package Architecture Version Repository Size
=======================================================================================================================================================================================================
Installing:
k3s-selinux noarch 1.5-2.el8 rancher-k3s-common-testing 20 k
Installing dependencies:
container-selinux noarch 2:2.229.0-2.module+el8.10.0+1825+623b0c20 appstream 70 k
Transaction Summary
=======================================================================================================================================================================================================
Install 2 Packages
Total download size: 90 k
Installed size: 161 k
Downloading Packages:
(1/2): container-selinux-2.229.0-2.module+el8.10.0+1825+623b0c20.noarch.rpm 404 kB/s | 70 kB 00:00
(2/2): k3s-selinux-1.5-2.el8.noarch.rpm 69 kB/s | 20 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 214 kB/s | 90 kB 00:00
Rancher K3s Common (testing) 9.2 kB/s | 2.4 kB 00:00
Importing GPG key 0xD161F542:
Userid : "Rancher (CI) <[email protected]>"
Fingerprint: 856A 0069 529C A63B 21AA 4E0A 089F A20E D161 F542
From : https://rpm-testing.rancher.io/public.key
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch 1/2
Installing : container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch 1/2
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch 1/2
Running scriptlet: k3s-selinux-1.5-2.el8.noarch 2/2
Installing : k3s-selinux-1.5-2.el8.noarch 2/2
Running scriptlet: k3s-selinux-1.5-2.el8.noarch 2/2
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch 2/2
Running scriptlet: k3s-selinux-1.5-2.el8.noarch 2/2
Verifying : container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch 1/2
Verifying : k3s-selinux-1.5-2.el8.noarch 2/2
Installed:
container-selinux-2:2.229.0-2.module+el8.10.0+1825+623b0c20.noarch k3s-selinux-1.5-2.el8.noarch
Complete!
[INFO] Creating /usr/local/bin/kubectl symlink to k3s
[INFO] Creating /usr/local/bin/crictl symlink to k3s
[INFO] Creating /usr/local/bin/ctr symlink to k3s
[INFO] Creating killall script /usr/local/bin/k3s-killall.sh
[INFO] Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO] env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO] systemd: Creating service file /etc/systemd/system/k3s.service
[INFO] systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service β /etc/systemd/system/k3s.service.
[INFO] Host iptables-save/iptables-restore tools not found
[INFO] Host ip6tables-save/ip6tables-restore tools not found
[INFO] systemd: Starting k3s
from k3s.
Verified that installation for k3s works with Suseliberty 8.9 version. Closing this.
$ k3s -v
k3s version v1.30.2+k3s1 (aa4794b3)
go version go1.22.4
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
ip-172-31-17-10.us-east-2.compute.internal Ready control-plane,etcd,master 11m v1.30.2+k3s1
ip-172-31-25-99.us-east-2.compute.internal Ready control-plane,etcd,master 8m50s v1.30.2+k3s1
ip-172-31-26-90.us-east-2.compute.internal Ready <none> 3m19s v1.30.2+k3s1
ip-172-31-31-56.us-east-2.compute.internal Ready control-plane,etcd,master 5m53s v1.30.2+k3s1
$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
auto-clusterip test-clusterip-59fc84d479-kdjr6 1/1 Running 0 89s
auto-clusterip test-clusterip-59fc84d479-r25r4 1/1 Running 0 89s
auto-daemonset test-daemonset-7rvmd 1/1 Running 0 88s
auto-daemonset test-daemonset-gh6vt 1/1 Running 0 88s
auto-daemonset test-daemonset-j7245 1/1 Running 0 88s
auto-daemonset test-daemonset-r2hmb 1/1 Running 0 88s
auto-dns dnsutils 1/1 Running 0 88s
auto-ingress test-ingress-4mbkm 1/1 Running 0 88s
auto-ingress test-ingress-fvl5l 1/1 Running 0 88s
auto-nodeport test-nodeport-69d6dc7f5f-h5r5k 1/1 Running 0 88s
auto-nodeport test-nodeport-69d6dc7f5f-whzrl 1/1 Running 0 88s
default clusterip-pod-demo 1/1 Running 0 92s
default clusterip-pod-demo-2 1/1 Running 0 92s
default clusterip-pod-demo-3 1/1 Running 0 92s
kube-system coredns-576bfc4dc7-wv29b 1/1 Running 0 10m
kube-system helm-install-traefik-crd-md6ng 0/1 Completed 0 10m
kube-system helm-install-traefik-w2n2w 0/1 Completed 1 10m
kube-system local-path-provisioner-86f46b7bf7-jtjdv 1/1 Running 0 10m
kube-system metrics-server-557ff575fb-ldk7l 1/1 Running 0 10m
kube-system svclb-traefik-0ffa5b60-5skq4 2/2 Running 0 3m19s
kube-system svclb-traefik-0ffa5b60-jbjvh 2/2 Running 0 8m48s
kube-system svclb-traefik-0ffa5b60-kw2jh 2/2 Running 0 5m35s
kube-system svclb-traefik-0ffa5b60-r7ms6 2/2 Running 0 10m
kube-system traefik-5fb479b77-zxvqm 1/1 Running 0 10m
more-clusterip test-clusterip-59fc84d479-n8jzq 1/1 Running 0 10s
more-clusterip test-clusterip-59fc84d479-vbff6 1/1 Running 0 10s
more-daemonset test-daemonset-f75tq 1/1 Running 0 10s
more-daemonset test-daemonset-jgbtw 1/1 Running 0 10s
more-daemonset test-daemonset-w6xq6 1/1 Running 0 10s
more-daemonset test-daemonset-xjx5f 1/1 Running 0 10s
more-dns dnsutils 1/1 Running 0 10s
more-ingress test-ingress-7tj7s 1/1 Running 0 10s
more-ingress test-ingress-hxjt6 1/1 Running 0 10s
more-nodeport test-nodeport-69d6dc7f5f-fvjgm 1/1 Running 0 10s
more-nodeport test-nodeport-69d6dc7f5f-zk9cg 1/1 Running 0 10s
from k3s.
Related Issues (20)
- Node cannot get itΒ΄s IP - host IP unknown; known addresses: [] HOT 2
- etcd issues when removing and re-adding nodes HOT 1
- Validate SLES 15 SP6
- Validate Amazon Linux 2
- Validate RHEL/Rocky/Oracle 8.10 HOT 1
- Validate RHEL/Rocky/Oracle 9.4 HOT 2
- k3s server crashes abruptly when approximately 300 requests are sent in a span of 60 seconds (client QPS is 5 and bursty limit is 10) HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 7
- Configuration problem with static CPU manager HOT 1
- Migrate Docker tests from Drone to GHA
- [Release 1.29] Bump flannel v0.25.4 and fix issue with IPv6Masq HOT 1
- [Release 1.27] Bump flannel v0.25.4 and fix issue with IPv6Masq
- [Release 1.28] Bump flannel v0.25.4 and fix issue with IPv6Masq HOT 1
- Install systemd unit to run cleanup on shutdown or reboot
- Ingress is going on all the nodes HOT 4
- k3s-agent not starting on ec2 error "failed to get CA certs" HOT 2
- Ingress is going on all the nodes HOT 1
- It looks like the Spegel is not working.
- How to increase NODE podCIDR than `10.42.0.0/24` HOT 1
- Not able to connect to kubelet when using bind-address flag HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.