# SELinux Support for Kubernetes in Gravity 7.0

DevFeed: [SELinux Support for Kubernetes in Gravity 7.0](<https://devfeed.tech/articles/selinux-support-for-kubernetes-in-gravity-7-0-29699.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/how-we-built-selinux-support-for-kubernetes-in-gravity-7-dot-0/>)

Author: info@goteleport.com (Dmitri Shelenin)

Published: 2020-05-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [SELinux](<https://devfeed.tech/topics/selinux.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [cncf](<https://devfeed.tech/tags/cncf.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [security](<https://devfeed.tech/tags/security.md>), [selinux](<https://devfeed.tech/tags/selinux.md>)

## AI overview

This article explains how the Gravity team added SELinux support to Gravity 7.0, a Kubernetes distribution. It covers the resulting base cluster policy, policy attributes and interfaces, file labels and equivalence rules, and the confinement of Kubernetes services and user workloads.

## Source excerpt

Learn how we built SELinux support for Gravity 7.0, issues we had, and useful tips. Also learn how we are confining Kubernetes services and workloads.