github.com/lkingland/gridd@v0.0.0-20230313082622-f3ae21fe9d22/testdata/cluster.yaml (about)

     1  # Cluster config for KinD cluster
     2  # created in CI/CD for integration testing
     3  kind: Cluster
     4  apiVersion: kind.x-k8s.io/v1alpha4
     5  nodes:
     6    - role: control-plane
     7    - role: worker
     8      extraPortMappings:
     9      - containerPort: 30080
    10        hostPort: 80
    11        listenAddress: "127.0.0.1"
    12      - containerPort: 30443
    13        hostPort: 443
    14        listenAddress: "127.0.0.1"
    15  containerdConfigPatches:
    16  - |-
    17    [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
    18      endpoint = ["http://kind-registry:5000"]