Skip to content

Commit

Permalink
fix extensions folder + fix cpu/memory requests (guimou#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimou authored Oct 25, 2022
1 parent 46a804e commit 5d4f7f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
5 changes: 4 additions & 1 deletion deployment/base/deployment-nifi-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ spec:
resources:
requests:
cpu: "0.1"
memory: 250Mi
memory: 512Mi
limits:
cpu: "0.25"
memory: 512Mi
ports:
- containerPort: 9090
livenessProbe:
Expand Down
13 changes: 10 additions & 3 deletions deployment/base/ss-nifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ spec:
- name: cert-request
imagePullPolicy: "IfNotPresent"
image: nifi-toolkit
resources:
requests:
cpu: 1
memory: 512Mi
limits:
cpu: 1
memory: 512Mi
command:
- bash
- -c
Expand Down Expand Up @@ -300,8 +307,8 @@ spec:
wait ${nifi_pid}
/opt/nifi/nifi-toolkit-current/bin/tls-toolkit.sh standalone \
-n '$FQDN' \
-C '$(admin_identity)' \
-n '$(hostname -f)' \
-C '$(admin_identity),OU=NIFI' \
-o '/opt/nifi/nifi-current/conf/' \
-P env:PASS \
-S env:PASS \
Expand Down Expand Up @@ -357,7 +364,7 @@ spec:
- name: "logs"
mountPath: /opt/nifi/nifi-current/logs
- name: "extensions"
mountPath: /opt/nifi/nifi-current/extension
mountPath: /opt/nifi/nifi-current/extensions
- name: "bootstrap-conf"
mountPath: /opt/nifi/nifi-current/conf/bootstrap.conf
subPath: "bootstrap.conf"
Expand Down

0 comments on commit 5d4f7f9

Please sign in to comment.