-
Notifications
You must be signed in to change notification settings - Fork 430
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
Switch to Standard_B2s VM SKU by default #2750
Conversation
/hold Even if this PR passes, we need to check that the test account has sufficient quota and that there is availability in most regions. |
710004b
to
10da447
Compare
So close, but AKS doesn't like it:
|
we could use a separate VM size for ephemeral OS scenarios |
.../data/infrastructure-azure/v1beta1/cluster-template-kcp-adoption/step1/cluster-with-cp0.yaml
Outdated
Show resolved
Hide resolved
3bf4fe8
to
db714e9
Compare
db714e9
to
c260243
Compare
Ooh cost saving, nice!
How do we achieve handpicking VMs in "ephemeral OS scenarios" for testing in CI ? Via separate configs? |
It's a good question. I'm not sure yet. I'm hoping just to override |
c260243
to
83a8e93
Compare
83a8e93
to
a8b6d4b
Compare
/hold cancel The CI Azure subscription appears to have generous quota for |
/lgtm Thanks for sticking with this @mboersma! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis 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 |
@@ -65,9 +65,9 @@ worker-templates: | |||
AZURE_RESOURCE_GROUP: test-resource-group-name | |||
CONTROL_PLANE_MACHINE_COUNT: "1" | |||
KUBERNETES_VERSION: v1.22.1 | |||
AZURE_CONTROL_PLANE_MACHINE_TYPE: Standard_D2s_v3 | |||
AZURE_CONTROL_PLANE_MACHINE_TYPE: Standard_B2s |
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 we also effectively recommend that users start with Standard_B2s
? It seems to handle our e2e workloads, but I don't know whether real-world use might find it lacking.
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'm not sure that the current existence of Standard_D2s_v3
is anything more than a "here's a known-working, barely operational example" for a VM SKU.
In other words, we have a long history of including in our reference configs the VM SKU that we use for testing — which includes in its positive criteria "cost-efficient" — (AFAICT this is the reason we use Standard_D2s_v3
, not that it's actually a SKU we would recommend for real-world production use) so I don't think this amounts to a significant change.
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.
Makes sense to me, thanks for the thoughtful comment.
Also, it's really in the Cluster API Book Quick Start that we say anything that could be interpreted as a recommendation:
# Select VM types.
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_D2s_v3"
export AZURE_NODE_MACHINE_TYPE="Standard_D2s_v3"
and that's not going to change with this PR. So I guess this doesn't rock the boat that badly.
/hold Just had a question above about whether |
/hold cancel |
/lgtm++ |
/retest-required Looks like a flake where 2/3 nodes came up, which I've seen outside this PR. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
An internal Azure audit suggested some of our accounts try to use
Standard_B2s
VM SKUs instead of our defaultStandard_D2s_v3
. I've been using it locally for all my testing and development and haven't seen any problems, so let's see if it might work for others (in particular, our CI account).Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
The difference in the two VM SKUs is this:
TODOs:
Release note: