kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 name: edge # 1 control plane node and 2 workers nodes: - role: control-plane image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 kubeadmConfigPatches: - | kind: ClusterConfiguration apiServer: extraArgs: audit-log-path: /etc/kubernetes/audit/audit.log audit-policy-file: /etc/kubernetes/audit/audit-policy.yaml extraVolumes: - name: audit-policy hostPath: /etc/kubernetes/audit mountPath: /etc/kubernetes/audit readOnly: false pathType: "DirectoryOrCreate" extraMounts: - hostPath: ./audit-policy.yaml containerPath: /etc/kubernetes/audit/audit-policy.yaml readOnly: true - role: worker image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 - role: worker image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 containerdConfigPatches: - |- [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:21700"] endpoint = ["http://kind-registry:5000"]