Skip to content

Commit

Permalink
Merge pull request #97 from PDEUXA/fix/simplenificluster_config
Browse files Browse the repository at this point in the history
correcting simplenificluster.yaml
  • Loading branch information
erdrix authored Jun 15, 2022
2 parents 2683430 + 08ba8a2 commit d141380
Showing 1 changed file with 33 additions and 48 deletions.
81 changes: 33 additions & 48 deletions config/samples/simplenificluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,31 @@ metadata:
spec:
service:
headlessEnabled: true
zkAddress: "zookeeper.zookeeeper:2181"
zkPath: "/simplenifi"
labels:
cluster-name: simplenifi
zkAddress: "zookeeper.zookeeper:2181"
zkPath: /simplenifi
externalServices:
- metadata:
labels:
cluster-name: driver-simplenifi
name: driver-ip
spec:
portConfigs:
- internalListenerName: http
port: 8080
type: LoadBalancer
clusterImage: "apache/nifi:1.15.3"
oneNifiNodePerNode: false
initContainerImage: 'busybox:1.34.0'
oneNifiNodePerNode: true
pod:
labels:
cluster-name: simplenifi
nodeConfigGroups:
default_group:
imagePullPolicy: IfNotPresent
isNode: true
serviceAccountName: default
storageConfigs:
- mountPath: "/opt/nifi/nifi-current/logs"
name: logs
Expand All @@ -22,7 +40,6 @@ spec:
resources:
requests:
storage: 10Gi
serviceAccountName: "default"
resourcesRequirements:
limits:
cpu: "0.5"
Expand All @@ -40,47 +57,15 @@ spec:
retryDurationMinutes: 10
listenersConfig:
internalListeners:
- type: "http"
name: "http"
containerPort: 8080
- type: "cluster"
name: "cluster"
containerPort: 6007
- type: "s2s"
name: "s2s"
containerPort: 10000
- type: "prometheus"
name: "prometheus"
containerPort: 9090
externalServices:
- name: "clusterip"
spec:
type: ClusterIP
portConfigs:
- port: 8080
internalListenerName: "http"
metadata:
annotations:
toto: tata
- name: "loadbalancer"
spec:
type: LoadBalancer
portConfigs:
- port: 8080
internalListenerName: "http"
metadata:
annotations:
toto: tata
labels:
titi: tutu
- name: "nodepart"
spec:
type: NodePort
portConfigs:
- port: 8080
internalListenerName: "http"
metadata:
annotations:
toto: tata
labels:
titi: tutu
- containerPort: 8080
type: http
name: http
- containerPort: 6007
type: cluster
name: cluster
- containerPort: 10000
type: s2s
name: s2s
- containerPort: 9090
type: prometheus
name: prometheus

0 comments on commit d141380

Please sign in to comment.