31 lines
672 B
YAML
31 lines
672 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: output-service-rdb
|
||
|
namespace: birbnetes
|
||
|
labels:
|
||
|
app: output-service-rdb
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: output-service-rdb
|
||
|
strategy:
|
||
|
type: Recreate
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: output-service-rdb
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: registry.kmlabz.com/birbnetes/output-service-rdb
|
||
|
imagePullPolicy: Always
|
||
|
name: output-service-rdb
|
||
|
envFrom:
|
||
|
- configMapRef:
|
||
|
name: output-service-rdb-config
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
imagePullSecrets:
|
||
|
- name: regcred
|