You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Kubernetes Pods Health Wait
v1.0.1
This action waits until all your pods a VM-free Kubernetes cluster using Minikube.
Your Actions workflow has a kubernetes setup. You may use minikube-setup-action for that.
Optional Maximum of times the check can be carried on. Default 10
.
Optional Time to wait (in seconds) before attempting the check after a failure. Default 30
.
name: "Minikube workflow"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Minikube
id: minikube
uses: CodingNagger/[email protected]
- name: Launch Minikube
run: eval ${{ steps.minikube.outputs.launcher }}
- name: Install Nginx pod
run: kubectl apply -f https://k8s.io/examples/application/deployment.yaml
- name: Wait for pods
uses: CodingNagger/[email protected]
- name: Check pods
run: |
kubectl get pods