Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ardumont/swh-charts
  • vlorentz/swh-charts
  • swh/infra/ci-cd/swh-charts
  • vsellier/swh-charts
  • anlambert/swh-charts
5 results
Show changes
Commits on Source (3)
...@@ -37,8 +37,8 @@ spec: ...@@ -37,8 +37,8 @@ spec:
affinity: affinity:
{{- toYaml $.Values.graphql.affinity | nindent 8 }} {{- toYaml $.Values.graphql.affinity | nindent 8 }}
{{- end }} {{- end }}
{{- if and $.Values.podPriority.enabled $.Values.graphql.priorityClassName }} {{- if and $.Values.podPriority.enabled (or $.Values.graphql.priorityClassName $graphql_config.priorityClassName) }}
priorityClassName: {{ $.Values.namespace }}-{{ $.Values.graphql.priorityClassName }} priorityClassName: {{ $.Values.namespace }}-{{ $graphql_config.priorityClassName | default $.Values.graphql.priorityClassName }}
{{ end }} {{ end }}
containers: containers:
- name: {{ $serviceType }} - name: {{ $serviceType }}
......
...@@ -203,6 +203,37 @@ graphql: ...@@ -203,6 +203,37 @@ graphql:
client: swh-web client: swh-web
cacheUrl: memcached://memcached:11211 cacheUrl: memcached://memcached:11211
maxRawContentSize: 10000 maxRawContentSize: 10000
webapp1:
replicas: 1
priorityClassName: low-workload
storageConfigurationRef: remoteROStorageConfiguration
searchConfigurationRef: remoteSearchConfiguration
introspection: yes
hosts:
- webapp1.internal.softwareheritage.org
ingress:
enabled: true
extraAnnotations:
nginx.ingress.kubernetes.io/rewrite-target: /
whitelistSourceRangeRef: internalNetworkRanges
endpoints:
default:
paths:
- path: /graphql/
extraWhitelistSourceRange:
# vpn network
- 192.168.101.0/24
gunicorn:
threads: 4
workers: 2
timeout: 3600
auth:
enabled: true
server: https://auth.softwareheritage.org/auth/
realm: SoftwareHeritage
client: swh-web
cacheUrl: memcached://memcached:11211
maxRawContentSize: 10000
listers: listers:
enabled: true enabled: true
...@@ -1011,7 +1042,7 @@ web: ...@@ -1011,7 +1042,7 @@ web:
enabled: true enabled: true
logLevel: INFO logLevel: INFO
requestedCpu: 500m requestedCpu: 500m
requestedMemory: 500Mi requestedMemory: 1024Mi
refreshSavecodenowStatus: refreshSavecodenowStatus:
enabled: true enabled: true
concurrencyPolicy: Forbid concurrencyPolicy: Forbid
...@@ -1019,10 +1050,11 @@ web: ...@@ -1019,10 +1050,11 @@ web:
enabled: true enabled: true
concurrencyPolicy: Forbid concurrencyPolicy: Forbid
configurationRef: postgresqlSyncmailmapsConfiguration configurationRef: postgresqlSyncmailmapsConfiguration
autoScaling: replicas: 2
minReplicaCount: 2 # autoScaling:
maxReplicaCount: 4 # minReplicaCount: 2
cpuPercentageUsage: 100 # maxReplicaCount: 4
# cpuPercentageUsage: 100
hosts: hosts:
- webapp1.internal.softwareheritage.org - webapp1.internal.softwareheritage.org
- archive.softwareheritage.org - archive.softwareheritage.org
......