istio.io/istio@v0.0.0-20240520182934-d79c90f27776/prow/config/default.yaml (about)

     1  # This configs KinD to spin up a k8s cluster with mixed protocol LB support and GRPCContainerProbe enabled
     2  # This should be used to create K8s clusters with versions >= 1.23
     3  kind: Cluster
     4  apiVersion: kind.x-k8s.io/v1alpha4
     5  kubeadmConfigPatches:
     6    - |
     7      apiVersion: kubeadm.k8s.io/v1beta3
     8      kind: ClusterConfiguration
     9      metadata:
    10        name: config
    11      etcd:
    12        local:
    13          # Run etcd in a tmpfs (in RAM) for performance improvements
    14          dataDir: /tmp/kind-cluster-etcd
    15      # We run single node, drop leader election to reduce overhead
    16      controllerManager:
    17        extraArgs:
    18          leader-elect: "false"
    19      scheduler:
    20        extraArgs:
    21          leader-elect: "false"
    22      apiServer:
    23        extraArgs:
    24          "service-account-issuer": "kubernetes.default.svc"
    25          "service-account-signing-key-file": "/etc/kubernetes/pki/sa.key"
    26  containerdConfigPatches:
    27    - |-
    28      [plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
    29        endpoint = ["http://kind-registry:5000"]