@zombienet/orchestrator
Version:
ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks
23 lines (22 loc) • 586 B
YAML
apiVersion: batch/v1
kind: CronJob
metadata:
name: clr-podmtr-{{namespace}}
spec:
schedule: "{{schedule}}"
successfulJobsHistoryLimit: 1
jobTemplate:
metadata:
name: podmonitor-cleaner
spec:
template:
spec:
serviceAccountName: zombie-internal-kubectl
containers:
- name: podmonitor-cleaner-job
image: bitnami/kubectl:1.17.3
command:
- "bin/bash"
- "-c"
- "kubectl delete podmonitor {{namespace}} -n monitoring"
restartPolicy: Never