Commit 8d867657 authored by Vic Iglesias's avatar Vic Iglesias

Add resources and probes

parent 4120e672
...@@ -59,6 +59,14 @@ service: ...@@ -59,6 +59,14 @@ service:
type: ClusterIP type: ClusterIP
externalPort: 80 externalPort: 80
internalPort: 80 internalPort: 80
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
` `
const defaultIgnore = `# Patterns to ignore when building packages. const defaultIgnore = `# Patterns to ignore when building packages.
...@@ -103,6 +111,16 @@ spec: ...@@ -103,6 +111,16 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- containerPort: {{ .Values.service.internalPort }} - containerPort: {{ .Values.service.internalPort }}
livenessProbe:
httpGet:
path: /
port: 80
readinessProbe:
httpGet:
path: /
port: 80
resources:
{{ toYaml .Values.resources | indent 12 }}
` `
const defaultService = `apiVersion: v1 const defaultService = `apiVersion: v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment