test(k3s): wait for nodes ready
This commit is contained in:
parent
7ce3793b25
commit
0cfc46f55a
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ runs:
|
|||
run: |
|
||||
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=${INPUT_VERSION} K3S_KUBECONFIG_MODE=640 sh -s - server
|
||||
echo "KUBECONFIG=/etc/rancher/k3s/k3s.yaml" >> $GITHUB_ENV
|
||||
- shell: bash
|
||||
name: wait for nodes
|
||||
run: kubectl wait --for=condition=Ready nodes --all --timeout=600s
|
||||
- shell: bash
|
||||
name: check k3s
|
||||
run: kubectl cluster-info
|
||||
|
|
Loading…
Reference in a new issue