beer/kube/beer-deployment.yaml

23 lines
366 B
YAML
Raw Normal View History

2020-02-15 18:38:57 +01:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: beer-deployment
2020-02-22 00:59:39 +01:00
namespace: beer
spec:
selector:
matchLabels:
app: beer
replicas: 1
template:
metadata:
labels:
app: beer
spec:
containers:
- name: beer
image: kleph/beer
imagePullPolicy: Always
ports:
- containerPort: 5000