storage-service/k8s/deployment.yaml

31 lines
626 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:
2020-04-29 22:17:43 +02:00
- image: registry.kmlabz.com/birbnetes/storage-service
2020-08-06 15:02:08 +02:00
imagePullPolicy: Always
2020-04-13 01:01:53 +02:00
name: storage-service
envFrom:
- configMapRef:
name: storage-service
2020-03-31 19:47:12 +02:00
ports:
- containerPort: 8000
2020-04-13 01:01:53 +02:00
imagePullSecrets:
2020-04-29 22:17:43 +02:00
- name: regcred