Add alpine playground that should really be a deployment
This commit is contained in:
parent
2e4aa848de
commit
92e6796602
2 changed files with 19 additions and 0 deletions
5
home/manifests/alpine-playground/kustomization.yaml
Normal file
5
home/manifests/alpine-playground/kustomization.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- pod.yaml
|
14
home/manifests/alpine-playground/pod.yaml
Normal file
14
home/manifests/alpine-playground/pod.yaml
Normal 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
|
Loading…
Reference in a new issue