Skip to content

Commit 2bd2ba1

Browse files
committed
Update solo-test.yml
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
1 parent ad7ff19 commit 2bd2ba1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/solo-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ jobs:
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}

0 commit comments

Comments
 (0)