Skip to content

Commit

Permalink
gh-819 fixes for k3s-base-sanity intermittently failing
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Oct 2, 2024
1 parent 8530738 commit f96df22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/k3s-base-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
submodules: recursive
- run: curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --disable traefik --disable servicelb" K3S_KUBECONFIG_MODE="644" sh -
- run: |
sleep 20
kubectl "${{ env.KUBECONFIG }}" taint nodes --all node.cloudprovider.kubernetes.io/uninitialized=false:NoSchedule-
sleep 60
sleep 80
kubectl "${{ env.KUBECONFIG }}" get nodes
kubectl "${{ env.KUBECONFIG }}" get pods -A
sleep 20
Expand Down
2 changes: 1 addition & 1 deletion cicd/k3s-base-sanity/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ else
kubectl $KUBECONFIG get pods -A

# Remove taints in k3s if any (usually happens if started without cloud-manager)
kubectl $KUBECONFIG taint nodes --all node.cloudprovider.kubernetes.io/uninitialized=false:NoSchedule-
# kubectl $KUBECONFIG taint nodes --all node.cloudprovider.kubernetes.io/uninitialized=false:NoSchedule-

echo "End K3s installation"
fi
Expand Down

0 comments on commit f96df22

Please sign in to comment.