-
Notifications
You must be signed in to change notification settings - Fork 403
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 HTTPCallbackAddress, needed when running within a kubernetes cluster #1637
base: main
Are you sure you want to change the base?
Conversation
Hi @lknite. 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
@lknite Would you mind updating the docs also to include mention of this env var and when to use it? |
@AverageMarcus of course, ... I like to do documentation right, which usually means a lot of time and effort. I'd like to first see the pull requests on the 2 packer repos get some traction / added in before I start down that path. |
@AverageMarcus I'll add a line to the sample clusterctl.yaml on this page (https://github.com/ionos-cloud/cluster-api-provider-proxmox/blob/main/docs/Usage.md#quick-start) with a description; and also add a line for VLAN while I'm in there. I'll also add a note to the page with the container syntax example (https://image-builder.sigs.k8s.io/capi/container-image). Would it be ok if I were to add the configuration line in a separate pull request or does it need to be added to this one for it to be approved? |
It'd be best to have it included in this PR to make sure documentation is in place when a release is made. Unless you have a solid reason for keeping them separate? One thing I've just realised though - this change is reliant on upstream Packer changes being released, correct? Are those changes only in plugins and not Packer itself? Because we're currently pinned to an old version of Packer and cannot upgrade. Also, can we mark this as Draft until the upstream changes are available to use? |
@AverageMarcus Only plugins, packer-plugin-sdk & packer-plugin-proxmox, if that works. Is the packer-plugin-sdk version pinned as well? I have a few reasons to want to do the documentation as a pull request later (mainly that i'm not a git master and there's a good chance i'll break this pull request trying to add to it and squash it) but it doesn't matter, I can throw something together sooner than later. We might have some time anyways, I haven't seen any comments on the two packer related pull requests, not sure what the turn-around time is on those projects, or if I need to do something else like attend a meeting or submit something additional to a review board. |
image-builder only pins Packer itself, so I think your upstream plugin changes will be available to image-builder (eventually). I agree with Marcus; we should include doc changes in this PR if possible. |
Change description
When running within a kubernetes workflow/pipelines, the http server used by the vm to communicate back completion cannot be reached directly. Instead, with kubernetes you 'expose' a pod via a LoadBalancer ip or ingress. The exposed ip is available but must be passed in somehow in order for it to be used.
This pull request adds a variable PROXMOX_HTTP_CALLBACK_ADDRESS, which if provided, will be used by the proxmox provider to pass the needed ip to the vm.
Two additional pull requests have been submitted to packer related repos to make this work:
Related issues