Reddy, Hemachandra (hr858f) 117b527d76 Increase memory limit to prevent OOMKilled
The current memory limits seems too small.

Change-Id: I4345e33eba4dfbcab9f3db5b425693216ed13bad
2021-07-08 18:04:24 -05:00

41 lines
822 B
YAML

apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
name: system
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- command:
- /manager
args:
- --enable-leader-election
image: quay.io/airshipit/sip
imagePullPolicy: IfNotPresent
name: manager
resources:
limits:
cpu: 100m
memory: 70Mi
requests:
cpu: 100m
memory: 30Mi
terminationGracePeriodSeconds: 10