diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d8a5102..eb2eef2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -80,9 +80,28 @@ jobs: - run: sudo modprobe vxlan - uses: actions/checkout@v3 - uses: canonical/setup-lxd@v0.1.1 + - name: "Relax disk pressure limit" + run: | + set -x + sudo snap install yq + yq -i 'select(.kind=="KubeletConfiguration").evictionHard."imagefs.available"="3Gi"' kubeadm-config.yaml - run: ./hack/create-cluster-lxd.sh - run: kubectl taint nodes --all node-role.kubernetes.io/control-plane- || true - run: ./hack/test-smoke.sh + - if: failure() + name: "kubectl get nodes" + run: | + set -x + kubectl get nodes -o wide + kubectl get nodes -o yaml + ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host0 -- df -h + ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host1 -- df -h + - if: failure() + name: "kubectl get pods" + run: | + set -x + kubectl get pods -A -o yaml + ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host0 -- journalctl --user --no-pager --since "10 min ago" - name: "Test data persistency after restarting the node" run: | lxc restart host0 host1 diff --git a/Dockerfile b/Dockerfile index df52994..a4f1b03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG BASE_IMAGE=docker.io/kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e -ARG CNI_PLUGINS_VERSION=v1.5.0 +ARG BASE_IMAGE=docker.io/kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 +ARG CNI_PLUGINS_VERSION=v1.5.1 FROM ${BASE_IMAGE} COPY Dockerfile.d/SHA256SUMS.d/ /tmp/SHA256SUMS.d ARG CNI_PLUGINS_VERSION diff --git a/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.0 b/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.0 deleted file mode 100644 index 729e73a..0000000 --- a/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.0 +++ /dev/null @@ -1,2 +0,0 @@ -57a18478422cb321370e30a5ee6ce026321289cd9c94353ca697dddd7714f1a5 cni-plugins-linux-amd64-v1.5.0.tgz -ab38507efe50c34bc2242a25c5783c19fdfe0376c65a2a91d48174d4f39f1fc2 cni-plugins-linux-arm64-v1.5.0.tgz diff --git a/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.1 b/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.1 new file mode 100644 index 0000000..6a91ab3 --- /dev/null +++ b/Dockerfile.d/SHA256SUMS.d/cni-plugins-v1.5.1 @@ -0,0 +1,2 @@ +77baa2f669980a82255ffa2f2717de823992480271ee778aa51a9c60ae89ff9b cni-plugins-linux-amd64-v1.5.1.tgz +c2a292714d0fad98a3491ae43df8ad58354b3c0bdf5d5a3e281777967c70fcff cni-plugins-linux-arm64-v1.5.1.tgz diff --git a/Makefile b/Makefile index 7075b73..f56cf2b 100644 --- a/Makefile +++ b/Makefile @@ -150,4 +150,4 @@ kubeadm-reset: .PHONY: install-flannel install-flannel: - $(NODE_SHELL) kubectl apply -f https://github.com/flannel-io/flannel/releases/download/v0.25.3/kube-flannel.yml + $(NODE_SHELL) kubectl apply -f https://github.com/flannel-io/flannel/releases/download/v0.25.5/kube-flannel.yml