mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
DEPLOY-276: Add resources to each pod definition.
This commit is contained in:
@@ -7,4 +7,4 @@ dependencies:
|
||||
- name: nginx-ingress
|
||||
version: ^0.8.21
|
||||
repository: https://kubernetes-charts.storage.googleapis.com
|
||||
condition: nginx-ingress.enabled
|
||||
condition: alfresco-content-services.nginx-ingress.enabled
|
@@ -26,6 +26,8 @@ spec:
|
||||
name: {{ template "content-services.fullname" . }}-repository-configmap
|
||||
ports:
|
||||
- containerPort: {{ .Values.repository.image.internalPort }}
|
||||
resources:
|
||||
{{ toYaml .Values.repository.resources | indent 12 }}
|
||||
initContainers:
|
||||
- name: init-postgres
|
||||
image: busybox
|
||||
|
@@ -23,6 +23,8 @@ spec:
|
||||
imagePullPolicy: {{ .Values.share.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.share.image.internalPort }}
|
||||
resources:
|
||||
{{ toYaml .Values.share.resources | indent 12 }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ template "content-services.fullname" . }}-share-configmap
|
@@ -26,3 +26,5 @@ spec:
|
||||
name: {{ template "content-services.fullname" . }}-solr-configmap
|
||||
ports:
|
||||
- containerPort: {{ .Values.solr.image.internalPort }}
|
||||
resources:
|
||||
{{ toYaml .Values.solr.resources | indent 12 }}
|
@@ -21,6 +21,11 @@ repository:
|
||||
JAVA_OPTS: " -Dsolr.base.url=/solr
|
||||
-Dsolr.secureComms=none
|
||||
-Dindex.subsystem.name=solr6"
|
||||
resources:
|
||||
requests:
|
||||
memory: "1000Mi"
|
||||
limits:
|
||||
memory: "4000Mi"
|
||||
|
||||
share:
|
||||
replicaCount: 1
|
||||
@@ -35,6 +40,11 @@ share:
|
||||
externalPort: 80
|
||||
ingress:
|
||||
path: /share
|
||||
resources:
|
||||
requests:
|
||||
memory: "500Mi"
|
||||
limits:
|
||||
memory: "1000Mi"
|
||||
|
||||
solr:
|
||||
replicaCount: 1
|
||||
@@ -51,21 +61,26 @@ solr:
|
||||
path: /solr
|
||||
environment:
|
||||
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
||||
resources:
|
||||
requests:
|
||||
memory: "250Mi"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
|
||||
postgresql:
|
||||
## If true, install the postgresql chart alongside Alfresco Content Services
|
||||
enabled: true
|
||||
|
||||
nameOverride: postgresql-acs
|
||||
imageTag: "9.4.12"
|
||||
|
||||
postgresUser: alfresco
|
||||
postgresPassword: alfresco
|
||||
postgresDatabase: alfresco
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
memory: "250Mi"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
|
||||
nginx-ingress:
|
||||
## If true, install the nginx-ingress chart alongside Alfresco Content Services
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
|
Reference in New Issue
Block a user