sip/config/manager/manager.yaml
Reddy, Hemachandra (hr858f) e65bd9e134 Increase memory limit to prevent OOMKilled
The current memory limits seems too small.

Change-Id: I0473dad307ba1a879a0b89c0e138c8894a93329d
2021-07-08 16:49:43 -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