You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
727 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nifi-deployment
labels:
app_name: collecte
app_kind: nifi-deployment
spec:
replicas: 1
selector:
matchLabels:
app_name: collecte
app_kind: nifi_webserver
template:
metadata:
labels:
app_name: collecte
app_kind: nifi_webserver
spec:
containers:
- name: nifi
image: retengr/nifi-docker:1.0.3
ports:
- containerPort: 8080
env:
- name: MONGO_HOST
value: mongodb-service-cip.flavien.svc.cluster.local
startupProbe:
httpGet:
path: /
port: 8080
failureThreshold: 30
periodSeconds: 20