k3s-io/k3s-selinux

SELinux policy for k3s

Hosted by Cloud Native Computing Foundation · part of Linux Foundation

View on GitHub ↗Jump to charts ↓

k3s-io/k3s-selinux has 80+ stars and 30+ forks on GitHub, is written in Shell, and was last pushed on Jul 27, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on October 15th, 2026
Created on February 24th, 2020
Open Issues & Pull Requests: 17 (+0)
GitHub issues: Enabled
Number of forks: 30
Total Stargazers: 89 (+0)
Total Subscribers: 10 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.1 days
Mean response time: 249.7 days
90th percentile: 817.6 days
Tracked items: 6

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 582 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

k3s-selinux is a SELinux policy package for k3s.

The project addresses the need to enforce SELinux security policies on systems running k3s, the lightweight Kubernetes distribution. It provides a compiled SELinux policy module that allows k3s to operate correctly within SELinux-enforcing environments, where the default system policies would otherwise block k3s operations. The approach packages this policy as an RPM that can be installed on Red Hat-based systems.

Operators running k3s on SELinux-enabled systems should adopt this tool to avoid having to disable SELinux entirely or run k3s in permissive mode. It is essential for production deployments on enterprise Linux distributions where SELinux enforcement is a security requirement. The project is distributed through Rancher's RPM repositories in testing, latest, and stable channels, allowing users to choose their preferred release stability level.

The project maintains a structured versioning scheme tied directly to RPM packaging conventions, with tags encoding both the policy version and the RPM channel and release number. Development activity shows ongoing maintenance of the SELinux policy definitions and RPM build infrastructure to keep the package compatible with k3s releases and various Enterprise Linux versions.