Skip to content

Instantly share code, notes, and snippets.

@dalethestirling
Last active April 9, 2022 11:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalethestirling/316eae008bb123b783f90cb5ef8633b0 to your computer and use it in GitHub Desktop.
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/
[crio.runtime]
conmon_cgroup = "pod"
cgroup_manager = "cgroupfs"
[crio.runtime.runtimes.crun]
runtime_path = "/usr/bin/crun"
runtime_type = "oci"
runtime_root = "/run/crun"
[Service]
CPUAccounting=true
MemoryAccounting=true
#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
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
[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