input-service/k8s/deployment.yml

29 lines
602 B
YAML
Raw Normal View History

2020-05-20 22:25:28 +02: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:
- image: registry.kmlabz.com/tormakris/input-service
name: input-service
envFrom:
- configMapRef:
name: input-service-config
ports:
- containerPort: 8080
imagePullSecrets:
- name: regcred