-
Notifications
You must be signed in to change notification settings - Fork 627
✨ Allocate dedicated host when a dedicated host doesn't exist #5631
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
base: main
Are you sure you want to change the base?
✨ Allocate dedicated host when a dedicated host doesn't exist #5631
Conversation
Skipping CI for Draft Pull Request. |
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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-sigs/prow repository. |
0cadb9a
to
2dd765e
Compare
Hi @rvanderp3, |
not at all, I appreciate the early feedback |
2dd765e
to
92e2a20
Compare
covers #5599 |
@rvanderp3 thanks! this is looking great. I dropped some early feedback. |
e9dc543
to
c46e590
Compare
5834d9a
to
40dcedc
Compare
// Tags to apply to the allocated dedicated host. | ||
// +optional | ||
Tags map[string]string `json:"tags,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.
Can we use the same tags that are present on Machine under spec.additionalTags
and default tags as well?
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.
we could for sure. will make that 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.
@punkwalker Ive made the change to include tags specified in spec.additionalTags. I looked at including the default tags as well but it seemed odd to apply some of them to the dedicated host. For example, the role tag that would be attached to the machine is node and that was be propagated to the dedicate host. I assumed default tags meant those that would be applied to the machine but I may have misunderstood. What did you mean by "default tags"?
fb9abd3
to
d5a03c3
Compare
/retest-required |
1 similar comment
/retest-required |
/unhold aws-test appears to be failing due to VPC quota exhaustion |
/retest-required |
/hold i need to look a bit closer, it does appear one of the new unit tests is failing |
d5a03c3
to
7d4ddc0
Compare
/unhold |
4a6ea38
to
b4ca71d
Compare
d8cfe76
to
c2fd570
Compare
3422d6b
to
e55553a
Compare
e55553a
to
26f35cf
Compare
/retest-required |
1 similar comment
/retest-required |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Builds on #5548 to enable CAPA to allocate a dedicated host. This removes the requirement that a dedicated host exist prior to instance provisioning. A core assumption of this PR is that there is a 1:1 mapping between an instance and the dedicated host on which it runs. Nothing in this implementation precludes scheduling multiple instances to a given dedicated host, but that is not the goal of this initial implementation.
Special notes for your reviewer:
Checklist:
Release note:
Adds support for provisioning an instance on a new dedicated host.