-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase memory and CPU so OPP products will install #472
Increase memory and CPU so OPP products will install #472
Conversation
34e2edd
to
e2b3539
Compare
I moved the values to the configmap for aws and vmware. This is ready for another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Some minor comments to consider.
@@ -1,10 +1,14 @@ | |||
# This manifest creates 3 OpenShift MachineSets that are intended for installing OpenShift Cluster Storage on AWS. | |||
# This manifest creates storage nodes necessary for installing OPP on an AWS or VMWare OpenShift cluster. | |||
# - AWS creates 2 replices in each of 3 zones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# - AWS creates 2 replices in each of 3 zones. | |
# - AWS creates 2 replicas in each of 3 zones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
data: | ||
vmwareReplicas: "6" | ||
vmwareCPU: "8" | ||
vmwareMemory: "32768" | ||
awsReplicas: "2" | ||
awsInstanceType: m6a.2xlarge | ||
us-east-1-4.10: ami-0c72f473496a7b1c2 | ||
us-east-1-4.11: ami-0722eb0819717090f | ||
us-east-1-4.12: ami-0fe05b1aa8dacfa90 | ||
us-east-1-4.13: ami-0624891c612b5eaa0 | ||
us-east-1-4.14: ami-0b56cb92505dea7ed | ||
us-east-1-4.15: ami-0b56cb92505dea7ed | ||
us-east-1-4.16: ami-057df4d0cb8cbae0d | ||
us-east-2-4.10: ami-09e637fc5885c13cc | ||
us-east-2-4.11: ami-026e5701f495c94a2 | ||
us-east-2-4.12: ami-0ff64f495c7e977cf | ||
us-east-2-4.13: ami-0dc6c4d1bd5161f13 | ||
us-east-2-4.14: ami-0dc6c4d1bd5161f13 | ||
us-east-2-4.15: ami-0b577c67f5371f6d1 | ||
us-east-2-4.16: ami-0f736c64d5751d7d3 | ||
zone1: a | ||
zone2: b | ||
zone3: c | ||
kind: ConfigMap | ||
metadata: | ||
name: opp-settings | ||
namespace: policies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Moved the metadata to the top. I find the alphabetical field ordering unconventional.
data: | |
vmwareReplicas: "6" | |
vmwareCPU: "8" | |
vmwareMemory: "32768" | |
awsReplicas: "2" | |
awsInstanceType: m6a.2xlarge | |
us-east-1-4.10: ami-0c72f473496a7b1c2 | |
us-east-1-4.11: ami-0722eb0819717090f | |
us-east-1-4.12: ami-0fe05b1aa8dacfa90 | |
us-east-1-4.13: ami-0624891c612b5eaa0 | |
us-east-1-4.14: ami-0b56cb92505dea7ed | |
us-east-1-4.15: ami-0b56cb92505dea7ed | |
us-east-1-4.16: ami-057df4d0cb8cbae0d | |
us-east-2-4.10: ami-09e637fc5885c13cc | |
us-east-2-4.11: ami-026e5701f495c94a2 | |
us-east-2-4.12: ami-0ff64f495c7e977cf | |
us-east-2-4.13: ami-0dc6c4d1bd5161f13 | |
us-east-2-4.14: ami-0dc6c4d1bd5161f13 | |
us-east-2-4.15: ami-0b577c67f5371f6d1 | |
us-east-2-4.16: ami-0f736c64d5751d7d3 | |
zone1: a | |
zone2: b | |
zone3: c | |
kind: ConfigMap | |
metadata: | |
name: opp-settings | |
namespace: policies | |
kind: ConfigMap | |
metadata: | |
name: opp-settings | |
namespace: policies | |
data: | |
vmwareReplicas: "6" | |
vmwareCPU: "8" | |
vmwareMemory: "32768" | |
awsReplicas: "2" | |
awsInstanceType: m6a.2xlarge | |
us-east-1-4.10: ami-0c72f473496a7b1c2 | |
us-east-1-4.11: ami-0722eb0819717090f | |
us-east-1-4.12: ami-0fe05b1aa8dacfa90 | |
us-east-1-4.13: ami-0624891c612b5eaa0 | |
us-east-1-4.14: ami-0b56cb92505dea7ed | |
us-east-1-4.15: ami-0b56cb92505dea7ed | |
us-east-1-4.16: ami-057df4d0cb8cbae0d | |
us-east-2-4.10: ami-09e637fc5885c13cc | |
us-east-2-4.11: ami-026e5701f495c94a2 | |
us-east-2-4.12: ami-0ff64f495c7e977cf | |
us-east-2-4.13: ami-0dc6c4d1bd5161f13 | |
us-east-2-4.14: ami-0dc6c4d1bd5161f13 | |
us-east-2-4.15: ami-0b577c67f5371f6d1 | |
us-east-2-4.16: ami-0f736c64d5751d7d3 | |
zone1: a | |
zone2: b | |
zone3: c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i fixed that too. Thanks!
The attempt to install OPP failed because more CPU and Memory was needed. Increasing vmware resources to match what AWS uses. The adjustments to the configmap usage had to be re-organized too, since the configmap needs to exist ahead of time to resolve the template values. Referenced bug: - https://issues.redhat.com/browse/OCPQE-21328 Signed-off-by: Gus Parvin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! You can also leverage the new object-templates-raw
feature in the generator in the future so that you don't have to specify the ConfigurationPolicy
stuff around it. 😉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhaiducek, gparvin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f59e3b5
into
open-cluster-management-io:main
The attempt to install OPP failed because more CPU and Memory was needed. Increasing resources to match what AWS uses.
Running a test with this PR to see if it resolves the resource issue.