Skip to content

Commit

Permalink
Merge pull request #242 from planetf1/resources
Browse files Browse the repository at this point in the history
  • Loading branch information
planetf1 authored Mar 21, 2023
2 parents 1420589 + eabfeeb commit 60ab509
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 31 deletions.
2 changes: 1 addition & 1 deletion charts/odpi-egeria-lab/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: odpi-egeria-lab
description: Egeria lab environment
apiVersion: v2
version: 4.0.0-prerelease.2
version: 4.0.0-prerelease.5
appVersion: "4.0"
icon: https://raw.githubusercontent.com/odpi/egeria/99016e77167fa30dcfade809b061358a92a59973/assets/img/egeria.png
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/odpi-egeria-lab/templates/egeria-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: 9443
name: https
targetPort: 9443
{{- if ( eq .Values.service.type "NodePort" ) }}
nodePort: {{ .Values.service.nodeport.core }}
Expand Down
1 change: 1 addition & 0 deletions charts/odpi-egeria-lab/templates/egeria-datalake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: 9443
name: https
targetPort: 9443
{{- if ( eq .Values.service.type "NodePort" ) }}
nodePort: {{ .Values.service.nodeport.datalake }}
Expand Down
4 changes: 2 additions & 2 deletions charts/odpi-egeria-lab/templates/egeria-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ spec:
name: {{ include "myapp.fullname" . }}-configmap
env:
{{ if .Values.debug.egeriaJVM }}
- name: JAVA_DEBUG
value: "true"
- name: JAVA_DEBUG
value: "true"
{{ end }}
- name: "LOADER_PATH"
value: "/deployments/server/extralib,/deployments/server/lib"
Expand Down
1 change: 1 addition & 0 deletions charts/odpi-egeria-lab/templates/egeria-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: 8443
name: https
targetPort: 8443
{{- if ( eq .Values.service.type "NodePort" ) }}
nodePort: {{ .Values.service.nodeport.ui }}
Expand Down
1 change: 1 addition & 0 deletions charts/odpi-egeria-lab/templates/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ data:
{{- end }}
SCRIPT_SLEEP_AFTER: "{{ .Values.jupyter.scriptSleepAfter | default '0' }}"
SCRIPT_SLEEP_BEFORE: "{{ .Values.jupyter.scriptSleepBefore | default '0' }}"
AB_JOLOKIA_OFF: "true"
{{- if .Values.egeria.ssl }}
{{- end -}}
62 changes: 34 additions & 28 deletions charts/odpi-egeria-lab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,82 +45,88 @@ egeria:
core:
#jvmopts: "-Xms500m -Xmx1024m"
#jvmopts: "-XX:MinRAMPercentage=10 -XX:MaxRAMPercentage=80"
jvmopts: "-Dmanagement.endpoints.web.exposure.include=*"
resources:
limits:
cpu: 2000m
memory: 2Gi
memory: 1000Mi
requests:
cpu: 500m
memory: 2Gi
cpu: 200m
memory: 1000Mi
datalake:
#jvmopts: "-Xms500m -Xmx1024m"
#jvmopts: "-XX:MinRAMPercentage=10 -XX:MaxRAMPercentage=80"
jvmopts: "-Dmanagement.endpoints.web.exposure.include=*"
resources:
limits:
cpu: 2000m
memory: 2Gi
memory: 1000Mi
requests:
cpu: 500m
memory: 2Gi
cpu: 200m
memory: 1000Mi
dev:
#jvmopts: "-Xms500m -Xmx1024m"
#jvmopts: "-XX:MinRAMPercentage=40 -XX:MaxRAMPercentage=80"
jvmopts: "-Dmanagement.endpoints.web.exposure.include=*"
resources:
limits:
cpu: 2000m
memory: 2Gi
memory: 1000Mi
requests:
cpu: 500m
memory: 2Gi
cpu: 200m
memory: 1000Mi
factory:
#jvmopts: "-Xms250m -Xmx512m"
#jvmopts: "-XX:MinRAMPercentage=40 -XX:MaxRAMPercentage=80"
jvmopts: "-Dmanagement.endpoints.web.exposure.include=*"
resources:
limits:
cpu: 250m
memory: 1Gi
requests:
cpu: 100m
memory: 1Gi
memory: 768Mi
requests:
cpu: 10m
memory: 768Mi
ui:
#jvmopts: "-Xms512m -Xmx1024m"
#jvmopts: "-XX:MinRAMPercentage=40 -XX:MaxRAMPercentage=80"
jvmopts: "-XX:+HeapDumpOnOutOfMemoryError"
resources:
limits:
cpu: 1000m
memory: 1Gi
memory: 500Mi
requests:
cpu: 200m
memory: 1Gi
cpu: 50m
memory: 500Mi
uistatic:
#jvmopts: "-Xms128m -Xmx512m"
#jvmopts: "-XX:MinRAMPercentage=40 -XX:MaxRAMPercentage=80"
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
memory: 160Mi
requests:
cpu: 10m
memory: 160Mi
presentation:
#jvmopts: "-Xms250m -Xmx512m"
#jvmopts: "-XX:MinRAMPercentage=25 -XX:MaxRAMPercentage=80"
jvmopts: "-XX:+HeapDumpOnOutOfMemoryError"
resources:
limits:
cpu: 1000m
memory: 768Mi
requests:
cpu: 100m
cpu: 50m
memory: 768Mi

nginx:
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
memory: 160Mi
requests:
cpu: 10m
memory: 160Mi

# Additional connectors/libraries to be made available in egeria server chassis containers
# This is just an example. You can have a list of connectors
Expand All @@ -145,18 +151,18 @@ jupyter:
resources:
limits:
cpu: 1000m
memory: 2Gi
memory: 1Gi
requests:
cpu: 100m
memory: 2Gi
memory: 1Gi

# Strimzi is used to setup an operator which will manage the custom resource we define.
# These entries are used to define that custom resource
kafka:
replicas: 1
resources:
limits:
cpu: 2000m
cpu: 1000m
memory: 1Gi
requests:
cpu: 250m
Expand Down

0 comments on commit 60ab509

Please sign in to comment.