Skip to content

Commit

Permalink
wip(charts): added resources spec #281
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Feb 7, 2022
1 parent 986d9d3 commit f590196
Show file tree
Hide file tree
Showing 37 changed files with 105 additions and 6 deletions.
2 changes: 2 additions & 0 deletions charts/common/templates/_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ spec:
port: {{ include "common.names.name" . }}
initialDelaySeconds: 60
periodSeconds: 15
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/common/templates/_kdk-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ spec:
port: {{ include "common.names.name" . }}
initialDelaySeconds: 60
periodSeconds: 15
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/common/templates/_krawler-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
subPath: {{ include "common.tplvalues.render" ( dict "value" .Values.dataSubPath "context" $) }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 16 }}
restartPolicy: Never
{{- if .Values.dataVolume }}
volumes:
Expand Down
2 changes: 2 additions & 0 deletions charts/express-gateway/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
ports:
- name: {{ include "common.names.name" . }}
containerPort: 8080
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
# cant' mount whole configMap in folders
# since folder has preexising files in the image
Expand Down
3 changes: 3 additions & 0 deletions charts/express-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ service:
ingress:
enabled: true
className: nginx

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-centipede/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-hubeau-observations/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ env:
timeout: "1800000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-hubeau-stations/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ env:
key: ""
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-metar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
5 changes: 4 additions & 1 deletion charts/k-meteoradar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ env:
# specifies the bucket where to store the files
s3Bucket: ""
# debug specifies the list of namespaces to enable debug output
debug: ""
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-openaq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
2 changes: 2 additions & 0 deletions charts/k-openradiation/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

resources: {}
3 changes: 3 additions & 0 deletions charts/k-taf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-teleray/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/k-vigicrues/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ env:
ttl: "2592000"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
4 changes: 3 additions & 1 deletion charts/k2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ spec:
path: /healthcheck
port: {{ include "common.names.name" . }}
initialDelaySeconds: 30
periodSeconds: 15
periodSeconds: 15
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
- name: k2-data
{{- if .Values.dataVolume }}
Expand Down
4 changes: 4 additions & 0 deletions charts/k2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ service:
env:
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}

# dataSubPath is the subpath in the the dataVolume to mount
dataSubPath: ""
Expand All @@ -40,3 +43,4 @@ dataVolume: {}

# extraVolumes are additional volumes to add to the deployment
extraVolumes: {}

5 changes: 4 additions & 1 deletion charts/kano/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,7 @@ env:
# logLevel specifies the level of frontend log
logLevel: ""
# debug specified the list of backend modules for which the output is enabled
debug: ""
debug: ""

# resources are resource requests and limits to be applied
resources: {}
5 changes: 4 additions & 1 deletion charts/kapp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ env:
# logLevel specifies the level of frontend log
logLevel: ""
# debug specified the list of backend modules for which the output is enabled
debug: ""
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/kapture/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ env:
kanoUrl: "http://apps-kano:8081"
# kanoJwt is the JWT to be authenticated to Kano
kanoJwt: ""

# resources are resource requests and limits to be applied
resources: {}
2 changes: 2 additions & 0 deletions charts/mapcache/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
ports:
- name: {{ include "common.names.name" . }}
containerPort: 80
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- mountPath: /etc/mapcache
readOnly: true
Expand Down
3 changes: 3 additions & 0 deletions charts/mapcache/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ dataVolume: {}
# server: "host or ip"
# path: "/zpool-foo/partition"
# readOnly: true

# resources are resource requests and limits to be applied
resources: {}
2 changes: 2 additions & 0 deletions charts/mapserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
ports:
- name: {{ include "common.names.name" . }}
containerPort: 80
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- mountPath: /etc/mapserver
readOnly: true
Expand Down
3 changes: 3 additions & 0 deletions charts/mapserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ dataVolume: {}
# server: "host or ip"
# path: "/zpool-foo/partition"
# readOnly: true

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/maputnik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ ingress:

# containerPort is the port used by the the container
containerPort: 8888

# resources are resource requests and limits to be applied
resources: {}
4 changes: 3 additions & 1 deletion charts/mongo-express/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ env:
key: ""
# meConfigMongodbEnableAdmin enables administrator access
meConfigMongodbEnableAdmin: "true"


# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/redis-commander/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ containerPort: 8081
env:
# redisHosts specifies the redis connection string
redisHosts: ""

# resources are resource requests and limits to be applied
resources: {}
2 changes: 2 additions & 0 deletions charts/thredds/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
{{- include "common.environment.render" (dict "env" .Values.env "context" $) | indent 12 }}
ports:
- name: {{ include "common.names.name" . }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
containerPort: 8080
volumeMounts:
{{- if and .Values.tomcatConfigMapName }}
Expand Down
3 changes: 2 additions & 1 deletion charts/thredds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ publicDataSubPath: thredds_data/public
# cacheDataSubPath is the sub path to the public data in the data volume
cacheDataSubPath: thredds_data/cache


# resources are resource requests and limits to be applied
resources: {}
2 changes: 2 additions & 0 deletions charts/tileservergl/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
ports:
- name: {{ include "common.names.name" . }}
containerPort: 80
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- mountPath: /data
readOnly: true
Expand Down
3 changes: 3 additions & 0 deletions charts/tileservergl/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ extraVolumes: {}

# initContainers are init container to add to the deployment
initContainers: {}

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast-arome-france-high-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ env:
upperLimit: "86400"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast-arome-france-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ env:
upperLimit: "129600"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast-arpege-europe-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ env:
upperLimit: "172800"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast-arpege-world-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ env:
upperLimit: "172800"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast-gfs-world-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ env:
upperLimit: "259200"
# debug specifies the list of namespaces to enable debug output
debug: ""

# resources are resource requests and limits to be applied
resources: {}
3 changes: 3 additions & 0 deletions charts/weacast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ env:
logLevel: ""
# String to define the list of backend modules for which the output is enabled
debug: ""

# resources are resource requests and limits to be applied
resources: {}

0 comments on commit f590196

Please sign in to comment.