autok3s icon indicating copy to clipboard operation
autok3s copied to clipboard

Help: selinux error during offline installation of k3s using autok3s in CentOS Linux release 7.9.2009 (Core)

Open jinjianming opened this issue 1 year ago • 2 comments

[ERROR]  Failed to find the k3s-selinux policy, please install:
    yum install -y container-selinux
    yum install -y https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/

time="2023-05-11T20:10:16+08:00" level=error msg="Process exited with status 1: [ERROR]  Failed to find the k3s-selinux policy, please install:\n    yum install -y container-selinux\n    yum install -y https://rpm.rancher.io/k3s/stable/common/centos/7/noarch/\n\n"

Is installing k3s selinux mandatory? It is not required in Ubuntu 18.04, and under what circumstances will k3s selinux be installed

jinjianming avatar May 11 '23 04:05 jinjianming

You can see this docs: https://docs.k3s.io/advanced#selinux-support

orangedeng avatar May 11 '23 05:05 orangedeng

Will support settings for environment variables

JacieChao avatar Jan 23 '24 01:01 JacieChao