storage-service/k8s/deployment.yaml
marcsello 90d34e9835
All checks were successful
continuous-integration/drone/push Build is passing
Added k8s stuffs
2020-03-31 19:47:12 +02:00

28 lines
538 B
YAML

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