Last active
April 9, 2022 11:19
-
-
Save dalethestirling/316eae008bb123b783f90cb5ef8633b0 to your computer and use it in GitHub Desktop.
Files used for crun - cri-o kubernetes install: https://dalethestirling.github.io/Lightweight-Kubernetes-Centos-8-Stream/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[crio.runtime] | |
conmon_cgroup = "pod" | |
cgroup_manager = "cgroupfs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[crio.runtime.runtimes.crun] | |
runtime_path = "/usr/bin/crun" | |
runtime_type = "oci" | |
runtime_root = "/run/crun" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
CPUAccounting=true | |
MemoryAccounting=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#File defines sysctl settings required for kubernetes/cri-o | |
net.bridge.bridge-nf-call-iptables = 1 | |
net.ipv4.ip_forward = 1 | |
net.bridge.bridge-nf-call-ip6tables = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: ClusterConfiguration | |
apiVersion: kubeadm.k8s.io/v1beta2 | |
kubernetesVersion: v1.21.1 | |
clusterName: outpost-1 | |
networking: | |
podSubnet: 10.244.0.0/16 | |
--- | |
kind: KubeletConfiguration | |
apiVersion: kubelet.config.k8s.io/v1beta1 | |
cgroupDriver: cgroupfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[kubernetes] | |
name=Kubernetes | |
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg | |
exclude=kubelet kubeadm kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment