GPU-Live/monitoring/fail.yaml

23 lines
415 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: a1-failed-deploy
namespace: org1
spec:
replicas: 1
selector:
matchLabels:
app: fail-app
template:
metadata:
labels:
app: fail-app
spec:
nodeSelector:
nodegroup: gpu
containers:
- name: fail-container
image: busybox
command: ["sh", "-c", "exit 1"] # 실행하자마자 실패