storage-service/k8s/deployment.yaml

28 lines
538 B
YAML
Raw Normal View History

2020-03-31 19:47:12 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: storage-service
namespace: birbnetes
labels:
app: storage-service
spec:
replicas: 1
selector:
matchLabels:
app: storage-service
strategy:
type: Recreate
template:
metadata:
labels:
app: storage-service
spec:
containers:
- image:
name: registry.kmlabz.com/tormakris/storage-service
envFrom:
- configMapRef:
name: storage-service
ports:
- containerPort: 8000