mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-14 13:16:54 +00:00
* add file structure and success/failure yaml files * add success/fail check tests for liveness probe missing * add success/fail check tests for readiness probe missing * add cpu limit missing success/failure * add cpu requests missing success/failure * add hostPortMissing success/failure * add readinessProbeMissing success/failure * delete misspelled file folder readinessProb Co-authored-by: Robert Brennan <accounts@rbren.io>
14 lines
258 B
YAML
14 lines
258 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
test: readiness
|
|
name: readiness-exec
|
|
spec:
|
|
containers:
|
|
- name: readiness
|
|
image: k8s.gcr.io/busybox
|
|
args:
|
|
- /bin/sh
|
|
- -c
|
|
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600. |