Skip to content

Commit

Permalink
feat: Adds a remote runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Aug 22, 2024
1 parent 499e6d1 commit 019225c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions site-check-no-rofs-runner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---

# A play that can be used to check Pods in a given cluster for
# read-only filesystem issues. The play uses a map of volumes
# and the Pods that use them. The play will attempt to write
# to the volume, reporting any that cannot be touched.
#
# You can use delete_failed_pods to also delete Pods that fail.

- hosts: localhost
tasks:
- name: Run check-no-rofs (dev)
command: ansible-playbook site-check-no-rofs.yaml -e cluster=dev
environment:
KUBECONFIG: ~/.kube/config-dev
- name: Run check-no-rofs (prod)
command: ansible-playbook site-check-no-rofs.yaml -e cluster=prod
environment:
KUBECONFIG: ~/.kube/config-prod

0 comments on commit 019225c

Please sign in to comment.