input-service/k8s/deployment.yaml

30 lines
580 B
YAML
Raw Normal View History

2020-03-25 01:19:22 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: input-service
namespace: birbnetes
labels:
app: input-service
spec:
replicas: 1
selector:
matchLabels:
app: input-service
strategy:
type: Recreate
template:
metadata:
labels:
app: input-service
spec:
containers:
2020-04-12 23:24:26 +02:00
- name: input-service
image: registry.kmlabz.com/tormakris/input-service
envFrom:
- configMapRef:
name: input-service
2020-03-25 01:19:22 +01:00
ports:
2020-04-12 23:24:26 +02:00
- containerPort: 8080
imagePullSecrets:
- name: regcred