21 lines
345 B
YAML
21 lines
345 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: beer-deployment
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: beer
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: beer
|
|
spec:
|
|
containers:
|
|
- name: beer
|
|
image: kleph/beer
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 5000
|
|
|