Coder Social home page Coder Social logo

Comments (1)

dereknola avatar dereknola commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.