27 lines
464 B
YAML
27 lines
464 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: supply-chain
|
|
labels:
|
|
training.cks/lesson: supply-chain
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: frontend
|
|
namespace: supply-chain
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: frontend
|
|
spec:
|
|
containers:
|
|
- name: frontend
|
|
image: busybox:1.37
|
|
command: ["sh", "-c", "sleep 3600"]
|