mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-11 03:37:42 +00:00
adding notes, making requests defaults more basic
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: '{{ include (print $.Template.BasePath "/fairwinds.configmap.yaml") . | sha256sum }}'
|
||||
labels:
|
||||
app: '{{.Release.Name}}'
|
||||
chart: '{{.Chart.Name}}-{{.Chart.Version}}'
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: '{{ include (print $.Template.BasePath "/fairwinds.configmap.yaml") . | sha256sum }}'
|
||||
labels:
|
||||
app: '{{.Release.Name}}'
|
||||
chart: '{{.Chart.Name}}-{{.Chart.Version}}'
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
{{- if .Values.config -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app: '{{ template "fullname" . }}'
|
||||
chart: '{{.Chart.Name}}-{{.Chart.Version}}'
|
||||
heritage: '{{.Release.Service}}'
|
||||
release: '{{.Release.Name}}'
|
||||
name: '{{ template "fullname" . }}'
|
||||
namespace: '{{.Release.Namespace}}'
|
||||
data:
|
||||
config.yml: {{- toYaml .Values.config | indent 2 -}}
|
||||
{{ end }}
|
||||
@@ -3,11 +3,9 @@ config: |
|
||||
resources:
|
||||
requests:
|
||||
cpu:
|
||||
min: 0.1
|
||||
max: 1
|
||||
require: true
|
||||
memory:
|
||||
min: 10m
|
||||
max: 2000M
|
||||
require: true
|
||||
limits:
|
||||
cpu:
|
||||
min: 0.1
|
||||
|
||||
Reference in New Issue
Block a user