Browse Source

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

pull/40/head
Stefan Reimer 10 months ago
parent
commit
916661ead5
  1. 2
      charts/kubezero-kiam/Chart.yaml
  2. 8
      charts/kubezero-kiam/values.yaml
  3. 11
      docs/etcd_hackery.md

2
charts/kubezero-kiam/Chart.yaml

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

8
charts/kubezero-kiam/values.yaml

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

11
docs/etcd_hackery.md

@ -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
Loading…
Cancel
Save