Closed Demcheck closed 1 year ago
Nifi cluster config:
apiVersion: nifi.konpyutaika.com/v1
kind: NifiCluster
metadata:
name: simplenifi
spec:
service:
headlessEnabled: false
labels:
cluster-name: simplenifi
zkAddress: "zookeeper-client:2181"
zkPath: /simplenifi
externalServices:
- metadata:
labels:
cluster-name: driver-simplenifi
name: driver-ip
spec:
portConfigs:
- internalListenerName: https
port: 8443
type: ClusterIP
clusterImage: "apache/nifi:1.15.3"
initContainerImage: 'bash:5.2.2'
oneNifiNodePerNode: true
readOnlyConfig:
nifiProperties:
overrideConfigs: |
nifi.sensitive.props.key=thisIsABadSensitiveKeyPassword
pod:
labels:
cluster-name: simplenifi
app.kubernetes.io/name: testnifi
nodeConfigGroups:
default_group:
imagePullPolicy: IfNotPresent
isNode: true
serviceAccountName: default
storageConfigs:
- mountPath: "/opt/nifi/nifi-current/logs"
name: logs
pvcSpec:
accessModes:
- ReadWriteOnce
storageClassName: "autodelete"
resources:
requests:
storage: 10Gi
resourcesRequirements:
limits:
cpu: "0.5"
memory: 2Gi
requests:
cpu: "0.5"
memory: 2Gi
nodes:
- id: 1
nodeConfigGroup: "default_group"
- id: 2
nodeConfigGroup: "default_group"
propagateLabels: true
nifiClusterTaskSpec:
retryDurationMinutes: 10
listenersConfig:
clusterDomain: mycl.k8s.lcl
internalListeners:
- containerPort: 8443
type: https
name: https
- containerPort: 6007
type: cluster
name: cluster
- containerPort: 10000
type: s2s
name: s2s
- containerPort: 9090
type: prometheus
name: prometheus
- containerPort: 6342
type: load-balance
name: load-balance
sslSecrets:
tlsSecretName: "nifi-test-cert-simple"
create: true
I have found solution, just created volume for /opt/nifi/data
What steps will reproduce the bug?
Enable ssl cluster
What is the expected behavior?
Cluster will be created successfully
What do you see instead?
Got errors in logs and endless restart
Possible solution
No response
NiFiKop version
v.1.1.0-release
Golang version
1.19
Kubernetes version
1.24.8
NiFi version
1.15
Additional context
Logs: