diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 0a7ea20..37e3775 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -7,7 +7,7 @@ metadata: app.kubernetes.io/name: resource-governance app.kubernetes.io/component: governance spec: - replicas: 2 + replicas: 1 strategy: type: RollingUpdate rollingUpdate: @@ -115,11 +115,11 @@ spec: key: SERVICE_ACCOUNT_NAME resources: requests: - cpu: 100m - memory: 128Mi + cpu: 50m + memory: 64Mi limits: - cpu: 500m - memory: 512Mi + cpu: 200m + memory: 256Mi volumeMounts: - name: reports mountPath: /tmp/reports diff --git a/openshift-s2i.yaml b/openshift-s2i.yaml index 4e95c80..53b4177 100644 --- a/openshift-s2i.yaml +++ b/openshift-s2i.yaml @@ -49,25 +49,25 @@ parameters: - name: CPU_REQUEST displayName: "CPU Request" description: "The amount of CPU to request for the container." - value: "100m" + value: "50m" required: true - name: CPU_LIMIT displayName: "CPU Limit" description: "The amount of CPU to limit the container to." - value: "500m" + value: "200m" required: true - name: MEMORY_REQUEST displayName: "Memory Request" description: "The amount of memory to request for the container." - value: "256Mi" + value: "64Mi" required: true - name: MEMORY_LIMIT displayName: "Memory Limit" description: "The amount of memory to limit the container to." - value: "1Gi" + value: "256Mi" required: true - name: REPLICAS