...

Text file src/edge-infra.dev/hack/kind/config.yaml

Documentation: edge-infra.dev/hack/kind

     1kind: Cluster
     2apiVersion: kind.x-k8s.io/v1alpha4
     3name: edge
     4# 1 control plane node and 2 workers
     5nodes:
     6- role: control-plane
     7  image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
     8  kubeadmConfigPatches:
     9  - |
    10    kind: ClusterConfiguration
    11    apiServer:
    12        extraArgs:
    13          audit-log-path: /etc/kubernetes/audit/audit.log
    14          audit-policy-file: /etc/kubernetes/audit/audit-policy.yaml
    15        extraVolumes:
    16          - name: audit-policy
    17            hostPath: /etc/kubernetes/audit
    18            mountPath: /etc/kubernetes/audit
    19            readOnly: false
    20            pathType: "DirectoryOrCreate"
    21  extraMounts:
    22  - hostPath: ./audit-policy.yaml
    23    containerPath: /etc/kubernetes/audit/audit-policy.yaml
    24    readOnly: true
    25- role: worker
    26  image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
    27- role: worker
    28  image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
    29containerdConfigPatches:
    30- |-
    31  [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:21700"]
    32    endpoint = ["http://kind-registry:5000"]

View as plain text