This commit is contained in:
Thomas Kruse
2026-09-02 22:11:05 +02:00
commit 24b9717db2
49 changed files with 818 additions and 0 deletions

13
runtimeclass/class.yaml Normal file
View File

@ -0,0 +1,13 @@
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: runc
handler: runc # requires containerd
overhead:
podFixed:
memory: 100Mi
cpu: 100m
scheduling:
nodeSelector:
kubernetes.io/os: linux
# tolerations:

6
runtimeclass/commands Normal file
View File

@ -0,0 +1,6 @@
minikube start --cpus 4 --memory 8192 --ports 80:80 --container-runtime=containerd
kubectl get node -o jsonpath='{.items[*].status.nodeInfo.containerRuntimeVersion}'
minikube ssh
sudo cat /etc/containerd/config.toml

13
runtimeclass/pod.yaml Normal file
View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: demo
spec:
runtimeClassName: runc
containers:
- name: demo
image: ghcr.io/trion-development/echoserver:1
resources: {}
ports:
- containerPort: 3000