File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ timeout: 600
66apiVersion : apps/v1
77kind : StatefulSet
88metadata :
9- name : test-nifi-node-automatic-log-config
9+ name : test-nifi-node-automatic-log
1010status :
1111 readyReplicas : 1
1212 replicas : 1
1313---
1414apiVersion : apps/v1
1515kind : StatefulSet
1616metadata :
17- name : test-nifi-node-custom-log-config
17+ name : test-nifi-node-custom-log
1818status :
1919 readyReplicas : 1
2020 replicas : 1
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ spec:
110110 # Quicker startup, and we only have a single node
111111 "nifi.cluster.flow.election.max.wait.time": "10 secs"
112112 roleGroups:
113- automatic-log-config :
113+ automatic-log:
114114 replicas: 1
115115 config:
116116 logging:
@@ -151,7 +151,7 @@ spec:
151151 - name: prepared-logs
152152 configMap:
153153 name: prepared-logs
154- custom-log-config :
154+ custom-log:
155155 replicas: 1
156156 config:
157157 logging:
Original file line number Diff line number Diff line change @@ -28,37 +28,37 @@ customConfig:
2828 type: filter
2929 inputs: [validEvents]
3030 condition: >-
31- .pod == "test-nifi-node-automatic-log-config- 0" &&
31+ .pod == "test-nifi-node-automatic-log-0" &&
3232 .container == "nifi"
3333 filteredAutomaticLogConfigNodeGitSync:
3434 type: filter
3535 inputs: [validEvents]
3636 condition: >-
37- .pod == "test-nifi-node-automatic-log-config- 0" &&
37+ .pod == "test-nifi-node-automatic-log-0" &&
3838 .container == "git-sync-0"
3939 filteredAutomaticLogConfigNodeGitSyncInit:
4040 type: filter
4141 inputs: [validEvents]
4242 condition: >-
43- .pod == "test-nifi-node-automatic-log-config- 0" &&
43+ .pod == "test-nifi-node-automatic-log-0" &&
4444 .container == "git-sync-0-init"
4545 filteredAutomaticLogConfigNodeVector:
4646 type: filter
4747 inputs: [validEvents]
4848 condition: >-
49- .pod == "test-nifi-node-automatic-log-config- 0" &&
49+ .pod == "test-nifi-node-automatic-log-0" &&
5050 .container == "vector"
5151 filteredCustomLogConfigNodeNifi:
5252 type: filter
5353 inputs: [validEvents]
5454 condition: >-
55- .pod == "test-nifi-node-custom-log-config- 0" &&
55+ .pod == "test-nifi-node-custom-log-0" &&
5656 .container == "nifi"
5757 filteredCustomLogConfigNodeVector:
5858 type: filter
5959 inputs: [validEvents]
6060 condition: >-
61- .pod == "test-nifi-node-custom-log-config- 0" &&
61+ .pod == "test-nifi-node-custom-log-0" &&
6262 .container == "vector"
6363 filteredInvalidEvents:
6464 type: filter
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ timeout: 1800
77apiVersion: apps/v1
88kind: StatefulSet
99metadata:
10- name: test-nifi-node-resources- from-role
10+ name: test-nifi-node-from-role
1111spec:
1212 template:
1313 spec:
@@ -30,7 +30,7 @@ status:
3030apiVersion: apps/v1
3131kind: StatefulSet
3232metadata:
33- name: test-nifi-node-resources- from-role-group
33+ name: test-nifi-node-from-role-group
3434spec:
3535 template:
3636 spec:
@@ -53,7 +53,7 @@ status:
5353apiVersion: apps/v1
5454kind: StatefulSet
5555metadata:
56- name: test-nifi-node-resources-from- pod-overrides
56+ name: test-nifi-node-pod-overrides
5757spec:
5858 template:
5959 spec:
Original file line number Diff line number Diff line change 7373 # Quicker startup, and we only have a single node
7474 "nifi.cluster.flow.election.max.wait.time": "10 secs"
7575 roleGroups:
76- resources- from-role:
76+ from-role:
7777 replicas: 1
78- resources- from-role-group:
78+ from-role-group:
7979 config:
8080 resources:
8181 cpu:
8484 memory:
8585 limit: 3Gi
8686 replicas: 1
87- resources-from- pod-overrides:
87+ pod-overrides:
8888 podOverrides:
8989 spec:
9090 containers:
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ metadata:
55 name : check-jvm-heap-args
66timeout : 600
77commands :
8- - script : kubectl get cm -n $NAMESPACE test-nifi-node-resources- from-role -o yaml | grep -E 'java.arg..=-Xmx1638m' | xargs test ! -z
8+ - script : kubectl get cm -n $NAMESPACE test-nifi-node-from-role -o yaml | grep -E 'java.arg..=-Xmx1638m' | xargs test ! -z
99---
1010apiVersion : kuttl.dev/v1beta1
1111kind : TestAssert
1212metadata :
1313 name : check-jvm-heap-args
1414timeout : 600
1515commands :
16- - script : kubectl get cm -n $NAMESPACE test-nifi-node-resources- from-role-group -o yaml | grep -E 'java.arg..=-Xms2457m' | xargs test ! -z
16+ - script : kubectl get cm -n $NAMESPACE test-nifi-node-from-role-group -o yaml | grep -E 'java.arg..=-Xms2457m' | xargs test ! -z
You can’t perform that action at this time.
0 commit comments