Comments (1)
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.
Related Issues (20)
- Procedure for changing server one of a etcd cluster HOT 2
- Etcd bootstrap conflict HOT 1
- Issue with Embedded Registry Mirror Usage HOT 4
- Validate SUSE Liberty Linux 8.9
- [v1.29.3+k3s1] Certificate rotation on k3s-agent fails to include sans addressing, causing api requests via kubectl to potentially fail if kube-vip is in use HOT 1
- Add etcd snapshot s3 config secret support
- Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 2
- [Release-1.29] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- [Release-1.28] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- [Release-1.27] - Multiple simultaneous snapshots result in silent failure and/or corruption of at least one snapshot HOT 1
- kubectl logs selectively timing out based on the host CIDR range HOT 4
- v1.30.2-rc3 Images missing HOT 4
- rpm.rancher.io RHEL 9 packages missing/removed HOT 3
- k3s crashes completely with "Observed a panic: "integer divide by zero"" HOT 9
- Allow configuration of Rootlesskit's CopyUpDirs through an environment variable
- Embedded registry mirror pulling failed
- Snapshot option discrepancy with --etcd-snapshot-name
- Support for dynamic ports all the way up to 65535.
- How can I stop k3s apiserver listening {IP}:6443/static/charts directory? HOT 2
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.