mirror of
https://github.com/helm/helm.git
synced 2026-02-23 01:45:16 -05:00
Add resources and probes
This commit is contained in:
parent
4120e67240
commit
8d867657bb
1 changed files with 18 additions and 0 deletions
|
|
@ -59,6 +59,14 @@ service:
|
|||
type: ClusterIP
|
||||
externalPort: 80
|
||||
internalPort: 80
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
`
|
||||
|
||||
const defaultIgnore = `# Patterns to ignore when building packages.
|
||||
|
|
@ -103,6 +111,16 @@ spec:
|
|||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.internalPort }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
`
|
||||
|
||||
const defaultService = `apiVersion: v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue