File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 6161 - name : Configure and run solo
6262 run : |
6363 kind create cluster -n "${SOLO_CLUSTER_NAME}"
64+
65+ # metrics-server is not bundled with Kind; --kubelet-insecure-tls is required
66+ # because Kind kubelets use self-signed certificates.
67+ # See: https://github.com/kubernetes-sigs/metrics-server#requirements
68+ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
69+ kubectl patch deployment metrics-server -n kube-system \
70+ --type=json \
71+ -p '[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--kubelet-insecure-tls"}]'
72+ kubectl rollout status deployment/metrics-server -n kube-system --timeout=120s
73+
6474 # initialize solo
6575 solo init
6676 solo cluster-ref config connect --cluster-ref kind-${SOLO_CLUSTER_NAME} --context kind-${SOLO_CLUSTER_NAME}
You can’t perform that action at this time.
0 commit comments