-
Notifications
You must be signed in to change notification settings - Fork 579
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
🌱 Add missing Fields to RosaControlPlane #4780
Conversation
Hi @serngawy. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cc @stevekuznetsov |
/cc @muraee |
@serngawy: GitHub didn't allow me to request PR reviews from the following users: muraee. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
f7a1fe1
to
2e45c68
Compare
/ok-to-test |
I think we should hold this PR until the OCM/ROSA team has had a chance to review. |
@vkareh: GitHub didn't allow me to request PR reviews from the following users: pvasant, robpblake. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
type: string | ||
autoscaling: | ||
description: Autoscaling specifies auto scaling behaviour for this | ||
NodePool. |
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.
I believe the general preference is to refer to MachinePool
and not NodePool
. There is no customer-visible mention of NodePool
within ROSA CLI.
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.
done
the cluster, for example "10.0.0.0/16". | ||
type: string | ||
network: | ||
description: Network config for the ROSA-HCP cluster. |
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.
Should be ROSA HCP without the -
.
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.
done
/test pull-cluster-api-provider-aws-apidiff-main |
@serngawy I think you need to rebase your branch. |
Ideally this lands after #4765 |
I don't mind @stevekuznetsov but if it will takes more time to merge your PR, I would rather merge this one as there is another PR here waiting this one. |
e864d26
to
950477a
Compare
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
// +optional | ||
InstanceType string `json:"instanceType,omitempty"` | ||
|
||
// Autoscaling specifies auto scaling behaviour for this MachinePool. |
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.
This GoDoc need to explain what MachinePool the content is for. Note that this spec field is on the ROSAControlPlane
object.
|
||
// The instance type to use, for example `r5.xlarge`. Machine type ref; https://aws.amazon.com/ec2/instance-types/ | ||
// +optional | ||
InstanceType string `json:"instanceType,omitempty"` |
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.
Is there a reason we do not want to support all the fields from the ROSAMachinePool
here?
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.
I believe we give the options for the default MP here, otherwise the user the need to define the RosaMP
ServiceCIDR string `json:"serviceCIDR,omitempty"` | ||
|
||
// Network host prefix which is defaulted to `23` if not specified. | ||
// +kubebuilder:default:=23 |
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.
// +kubebuilder:default:=23 | |
// +kubebuilder:default=23 |
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.
Seems like either :=
or =
works but we use =
exclusively elsewhere.
|
||
// The CNI network type default is OVNKubernetes. | ||
// +kubebuilder:validation:Enum=OVNKubernetes;Other | ||
// +kubebuilder:default:=OVNKubernetes |
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.
// +kubebuilder:default:=OVNKubernetes | |
// +kubebuilder:default=OVNKubernetes |
a1d179b
to
ab57062
Compare
Signed-off-by: melserngawy <melserng@redhat.com>
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevekuznetsov 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adding the missing RosaControlPlan API fields;
Autoscaling
ComputeMachineType
ServiceCIDR
PodCIDR
HostPrefix
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
issue
Special notes for your reviewer:
Checklist:
Release note: