Skip to content

bump kindnet dependencies #3

bump kindnet dependencies

bump kindnet dependencies #3

Workflow file for this run

name: NodeImage
on:
workflow_dispatch:
pull_request:
branches:
- main
paths-ignore:
- 'site/**'
permissions:
contents: read
jobs:
nodeimage:
name: NodeImage
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
KUBERNETES_VERSION: "v1.33.0"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup-env
- name: Create multi node cluster
run: |
/usr/local/bin/kind build node-image ${{ env.KUBERNETES_VERSION }}
cat <<EOF | /usr/local/bin/kind create cluster -v7 --wait 1m --retain --image kindest/node:latest --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
EOF
- name: Get Cluster status
run: |
# wait network is ready
kubectl wait --for=condition=ready pods --namespace=kube-system -l k8s-app=kube-dns
kubectl get nodes -o wide
kubectl get pods -A
- name: Load docker image
run: |
docker pull busybox
/usr/local/bin/kind load docker-image busybox
- name: Export logs
if: always()
run: |
mkdir -p /tmp/kind/logs
/usr/local/bin/kind export logs /tmp/kind/logs
sudo chown -R $USER:$USER /tmp/kind/logs
- name: Upload logs
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: kind-logs-${{ env.JOB_NAME }}-${{ github.run_id }}
path: /tmp/kind/logs
- name: Delete cluster
run: /usr/local/bin/kind delete cluster