Skip to content

Commit

Permalink
Merge pull request openshift#1298 from rgolangh/master
Browse files Browse the repository at this point in the history
ovirt: reduce static pods mem/cpu requirements
  • Loading branch information
openshift-merge-robot authored Dec 20, 2019
2 parents 66ad271 + 37bba8f commit 347a7a0
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 14 deletions.
4 changes: 2 additions & 2 deletions manifests/ovirt/coredns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ spec:
- "/etc/coredns/Corefile"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/coredns"
Expand Down
4 changes: 2 additions & 2 deletions manifests/ovirt/keepalived.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ spec:
- "--log-console"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/keepalived"
Expand Down
8 changes: 4 additions & 4 deletions pkg/operator/assets/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -2125,8 +2125,8 @@ spec:
- "/etc/coredns/Corefile"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/coredns"
Expand Down Expand Up @@ -2295,8 +2295,8 @@ spec:
- "--log-console"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/keepalived"
Expand Down
4 changes: 2 additions & 2 deletions templates/common/ovirt/files/ovirt-coredns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ contents:
- "/etc/coredns/Corefile"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/coredns"
Expand Down
4 changes: 2 additions & 2 deletions templates/common/ovirt/files/ovirt-keepalived.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ contents:
socat UNIX-LISTEN:${keepalived_sock},fork system:'bash -c msg_handler'
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/keepalived"
Expand Down
4 changes: 2 additions & 2 deletions templates/common/ovirt/files/ovirt-mdns-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ contents:
- "--debug"
resources:
requests:
cpu: 150m
memory: 1Gi
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/mdns"
Expand Down
8 changes: 8 additions & 0 deletions templates/master/00-master/ovirt/files/ovirt-haproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ contents:
/usr/sbin/haproxy -W -db -f /etc/haproxy/haproxy.cfg -p /var/lib/haproxy/run/haproxy.pid &
fi
socat UNIX-LISTEN:${haproxy_sock},fork system:'bash -c msg_handler'
resources:
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/haproxy"
Expand All @@ -90,6 +94,10 @@ contents:
- "/etc/haproxy/haproxy.cfg"
- "--api-vip"
- "{{ .Infra.Status.PlatformStatus.Ovirt.APIServerInternalIP }}"
resources:
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: conf-dir
mountPath: "/etc/haproxy"
Expand Down

0 comments on commit 347a7a0

Please sign in to comment.