Skip to content

Instantly share code, notes, and snippets.

@katallaxie
Last active December 19, 2024 15:21
Show Gist options
  • Save katallaxie/e228cc4cf07580e1dbd2743f5d428d7a to your computer and use it in GitHub Desktop.
Save katallaxie/e228cc4cf07580e1dbd2743f5d428d7a to your computer and use it in GitHub Desktop.
Demo Kubernetes 1.31: Read Only Volumes Based On OCI Artifacts (alpha)
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
featureGates: {"ImageVolume":true}
nodes:
- role: control-plane
image: ghcr.io/liangyuanpeng/kindest/node:v1.31.0-crio-main-36c2750916eb9e75f01a627463c2cfad207f192d
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
criSocket: unix:///var/run/crio/crio.sock
- |
kind: JoinConfiguration
nodeRegistration:
criSocket: unix:///var/run/crio/crio.sock
- |
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
featureGates:
ImageVolume: true
- role: worker
image: ghcr.io/liangyuanpeng/kindest/node:v1.31.0-crio-main-36c2750916eb9e75f01a627463c2cfad207f192d
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
criSocket: unix:///var/run/crio/crio.sock
- |
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
featureGates:
ImageVolume: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment