-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat: add ipxe-script-url support for Equinix Metal #6565
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: displague 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 |
@@ -36,7 +36,7 @@ import ( | |||
|
|||
const ( | |||
// GPULabel is the label added to nodes with GPU resource. | |||
GPULabel = "cloud.google.com/gke-accelerator" |
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.
Removing this label prefix which was copy-pastad from another provider.
//result[apiv1.LabelZoneFailureDomain] = "0" | ||
//result[apiv1.LabelHostname] = "" | ||
result[apiv1.LabelInstanceTypeStable] = instanceType | ||
result[apiv1.LabelZoneRegion] = instanceMetro |
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.
@@ -695,7 +706,9 @@ func (mgr *equinixMetalManagerRest) templateNodeInfo(nodegroup string) (*schedul | |||
node.ObjectMeta = metav1.ObjectMeta{ | |||
Name: nodeName, | |||
SelfLink: fmt.Sprintf("/api/v1/nodes/%s", nodeName), | |||
Labels: map[string]string{}, | |||
Labels: map[string]string{ | |||
// apiv1.LabelHostname: nodeName, |
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 want to think we can add LabelHostname
here, but I'm not sure we need to (and I'm not sure if nodeName matches hostName).
@@ -26,13 +26,15 @@ In the above file you can modify the following fields: | |||
| cluster-autoscaler-equinixmetal | authtoken | Your Equinix Metal API token. It must be base64 encoded. | | |||
| cluster-autoscaler-cloud-config | Global/project-id | Your Equinix Metal project id | | |||
| cluster-autoscaler-cloud-config | Global/api-server | The ip:port for you cluster's k8s api (e.g. K8S_MASTER_PUBLIC_IP:6443) | | |||
| cluster-autoscaler-cloud-config | Global/facility | The Equinix Metal facility for the devices in your nodepool (eg: sv15) | | |||
| cluster-autoscaler-cloud-config | Global/metro | The Equinix Metal metro for the devices in your nodepool (eg: sv) | |
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.
Facility has been removed and Metro support has already been added .. See #5855
Signed-off-by: Marques Johansson <[email protected]>
be29189
to
59f5a8f
Compare
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. 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-sigs/prow repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #5856
Special notes for your reviewer:
To simplify testing, I'd like to revisit the equinixmetal/examples in this PR to make it easier to run the example without hand tweaking the base64 encoded cloud-init and inserting the Equinix Metal project id and auth token.
There are conventional variable names, exported by the Metal CLI, which can be injected in this example through a combination of
kustomize
and/orsubst
.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: