30 lines
594 B
YAML
30 lines
594 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: registry.kmlabz.com/birbnetes/storage-service
|
|
name: storage-service
|
|
envFrom:
|
|
- configMapRef:
|
|
name: storage-service
|
|
ports:
|
|
- containerPort: 8000
|
|
imagePullSecrets:
|
|
- name: regcred
|