Add alpine playground that should really be a deployment

This commit is contained in:
Daniel Flanagan 2022-07-05 17:14:31 -05:00
parent 2e4aa848de
commit 92e6796602
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- pod.yaml

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: alpine-playground
namespace: default
labels:
app: alpine-playground
spec:
containers:
- image: alpine
imagePullPolicy: IfNotPresent
name: alpine-playground
command: ["sh", "-c", "sleep 3600 && exit 1"]
restartPolicy: OnFailure