fix: loosen kiam memory limits slightly to prevent OOM endless loops

This commit is contained in:
Stefan Reimer 2021-04-09 13:44:48 +02:00
parent 4f9524c8b7
commit f2d7d7821f
3 changed files with 16 additions and 5 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-kiam name: kubezero-kiam
description: KubeZero Umbrella Chart for Kiam description: KubeZero Umbrella Chart for Kiam
type: application type: application
version: 0.3.2 version: 0.3.3
appVersion: "4.0" appVersion: "4.0"
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png

View File

@ -21,10 +21,10 @@ kiam:
updateStrategy: RollingUpdate updateStrategy: RollingUpdate
resources: resources:
requests: requests:
memory: "50Mi" memory: "64Mi"
cpu: "50m" cpu: "50m"
limits: limits:
memory: "100Mi" memory: "128Mi"
# cpu: "300m" # cpu: "300m"
tolerations: tolerations:
- key: node-role.kubernetes.io/master - key: node-role.kubernetes.io/master
@ -57,10 +57,10 @@ kiam:
caFileName: ca.crt caFileName: ca.crt
resources: resources:
requests: requests:
memory: "20Mi" memory: "16Mi"
cpu: "50m" cpu: "50m"
limits: limits:
memory: "20Mi" memory: "64Mi"
# cpu: "50m" # cpu: "50m"
tolerations: tolerations:
- key: node-role.kubernetes.io/master - key: node-role.kubernetes.io/master

11
docs/etcd_hackery.md Normal file
View File

@ -0,0 +1,11 @@
# How to extract or even edit etcd data directly
## Get Auger
https://github.com/jpbetz/auger
## Change a PV object
etcdctl get /registry/persistentvolumes/services-dsny-cache | auger decode > pv.yaml
vi pv.yaml
cat pv.yaml | auger encode | etcdctl put /registry/persistentvolumes/services-dsny-cache