home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

3n.yaml (768B)


      1 kind: Cluster
      2 apiVersion: kind.x-k8s.io/v1alpha4
      3 networking:
      4   apiServerAddress: HOST
      5   apiServerPort: PORT
      6 containerdConfigPatches:
      7 - |-
      8   [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
      9     endpoint = ["http://sakhalin.home:5000"]
     10 nodes:
     11 - role: control-plane
     12   image: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
     13   kubeadmConfigPatches:
     14   - |
     15     kind: InitConfiguration
     16     nodeRegistration:
     17       kubeletExtraArgs:
     18         node-labels: "ingress-ready=true"
     19 - role: worker
     20   image: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb
     21 - role: worker
     22   image: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb