Install on EL9
Rocky Linux, AlmaLinux or RHEL 9 on x86_64. The repository is public, no credentials are needed.
-
Add the repository
One package with the repository definition and the signing keys.
dnfdoes not check the signature of a package given as a URL: compare the key fingerprint with the table below.sudo dnf install https://mirror.squirro.net/extras/k3s/el9/x86_64/squirro-k3s-release-1.0-1.el9.noarch.rpm -
Prepare the host optional
Put the k3s data on a separate disk, load the sysctl settings OpenSearch needs and open firewalld. Without
SQ_K3S_DATA_DIRit changes nothing and prints what to do. Details.sudo SQ_K3S_DATA_DIR=/app/rancher dnf install -y squirro-k3s-host -
Install k3s
The first
dnfcommand that uses the repository asks once to import the repository key (-yaccepts it).sudo dnf install -y k3s k3s-selinux k3s-airgap-images sudo INSTALL_K3S_SKIP_DOWNLOAD=true /usr/share/k3s/install.sh -
Tools optional
Helm 4, k9s and Sealed Secrets (controller and
kubeseal), built from source like k3s.sudo dnf install -y squirro-helm squirro-k9s squirro-sealed-secrets
SQ_K3S_DATA_DIR set, squirro-k3s-host must run before the airgap images are written to /var/lib/rancher; the k3s packages are ordered after it. It refuses to run when /var/lib/rancher already has data, and tells you how to move it.sudo does not search /usr/local/bin: use a root shell or the full path, for example sudo /usr/local/bin/kubectl. helm and k9s do not find the k3s kubeconfig by themselves: export KUBECONFIG=/etc/rancher/k3s/k3s.yaml (root only).Packages
Everything lives in el9/x86_64/. Published packages are immutable: a rebuild gets a new revision (sq1, sq2, …), dnf installs the newest.
| Package | What it is | Latest version |
|---|---|---|
squirro-k3s-releaseRepository and keys | Installs the yum repository definition and the public signing keys. | 1.0-1.el9 |
squirro-k3s-hostHost preparation | K3s defaults, sysctl for OpenSearch, optional data-disk bind mount (SQ_K3S_DATA_DIR). | 1.0-3.el92 older1.0-2.el91.0-1.el9 |
k3sK3s | Lightweight Kubernetes, rebuilt from the unmodified upstream tag with the current Go patch release. Also provides kubectl, crictl and ctr. | 1.36.5-1.k3s1.sq5.el94 older1.36.5-1.k3s1.sq4.el91.36.5-1.k3s1.sq3.el91.36.5-1.k3s1.sq2.el91.36.5-1.k3s1.sq1.el9 |
k3s-selinuxK3s SELinux policy | From k3s-io/k3s-selinux, built here for EL9. | 1.7-5.el91 older1.7-4.el9 |
k3s-airgap-imagesK3s airgap images | The images K3s needs to start without internet access. Go components rebuilt with fixed dependencies, see below. | 1.36.5-1.k3s1.sq5.el94 older1.36.5-1.k3s1.sq4.el91.36.5-1.k3s1.sq3.el91.36.5-1.k3s1.sq2.el91.36.5-1.k3s1.sq1.el9 |
squirro-helmHelm 4 | Built from the signed upstream tag with the current Go patch release. Installs /usr/bin/helm. | 4.3.2-1.sq1.el92 older4.3.1-1.sq2.el94.3.1-1.sq1.el9 |
squirro-k9sk9s | Terminal UI for Kubernetes, built from the upstream tag with the current Go patch release. Installs /usr/bin/k9s. | 0.51.0-1.sq1.el9 |
squirro-sealed-secretsSealed Secrets | Controller and kubeseal from bitnami-labs/sealed-secrets, built from the upstream tag with the current Go patch release. The controller image is imported and deployed by K3s itself, nothing is pulled. | 0.41.2-1.sq1.el9 |
What is different from upstream
- k3s, helm, k9s are compiled from the upstream source tag with the newest patch release of the Go minor upstream uses, so Go standard-library fixes are included. Vulnerable Go modules are raised to fixed versions where one exists; the rest is on a reviewed accepted-risk list.
- k3s-airgap-images is the official image set of the matching k3s release. The Go binaries of CoreDNS, metrics-server, local-path-provisioner, Traefik and klipper-helm are rebuilt the same way and swapped into the official images (same names and tags); the other images are byte-identical to upstream. The build fails on any critical finding.
- Every release comes with SBOMs, scan reports and build provenance on GitHub. These are unofficial builds, not endorsed by SUSE, Rancher, the Helm project, the k9s project or the CNCF.
Host preparation
The package squirro-k3s-host automates what is otherwise done by hand on every k3s host.
/etc/rancher/k3s/config.yaml.d/10-squirro.yaml: kubeconfig mode 0600, SELinux, secrets encryption, no docker.io fallback. k3s merges every*.yamlof that directory in alphabetical order, so add your own settings as another file./usr/lib/sysctl.d/90-squirro-opensearch.conf:vm.max_map_count=262144, which OpenSearch needs.squirro-k3s-prepare: withSQ_K3S_DATA_DIRset (when installing the package, or by hand later) it bind-mounts that directory on/var/lib/rancherthrough/etc/fstab, restores the SELinux labels, trusts the pod and service networks (10.42.0.0/16, 10.43.0.0/16) in firewalld and opens http and https. It is idempotent,--dry-runshows what it would do, and it never replaces an existing mount.
Not part of the package: /etc/rancher/k3s/registries.yaml (your registry mirror and its credentials).
Signing keys
Packages and the repository metadata are signed (gpgcheck=1 and repo_gpgcheck=1). The long-lived primary key stays offline, the signing subkey is renewed every year. A retired key stays listed as long as packages signed with it are in the repository. All public keys are in RPM-GPG-KEY-squirro-k3s.
- Algorithm
- rsa4096
- Created
- 2026-10-27
- Signing subkey expires
- 2027-10-27
- Note
- k3s repository signing
Check a key before you trust it
curl -fsSL https://mirror.squirro.net/extras/k3s/RPM-GPG-KEY-squirro-k3s | gpg --show-keys --fingerprint
rpm -K k3s-*.rpm # after the key is imported: digests signatures OKBehind a proxy or an offline mirror
Proxy https://mirror.squirro.net as a yum (proxy) repository, for example in Nexus, and point the repository file at it. The key can be installed locally, which also works without internet access.
[squirro-k3s]
name=Squirro k3s (EL9, $basearch)
baseurl=https://<your-proxy>/repository/<proxy-repository>/extras/k3s/el9/$basearch/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-squirro-k3ssudo curl -fsSL -o /etc/pki/rpm-gpg/RPM-GPG-KEY-squirro-k3s https://mirror.squirro.net/extras/k3s/RPM-GPG-KEY-squirro-k3sIf your proxy cannot serve repodata/repomd.xml.asc, set repo_gpgcheck=0; package signatures (gpgcheck=1) are checked either way.