Skip to content

Conversation

maboehm
Copy link
Contributor

@maboehm maboehm commented Jul 9, 2025

How to categorize this PR?
/area ipcei
/kind enhancement

What this PR does / why we need it:
This PR builds on #12307 and demonstrates what gardener/machine-controller-manager#1012 looks like in practice. The MCM interaction with the target cluster is disabled, and therefore a new status field is returned:

status:
  addresses:
  - address: machine-shoot--garden--root-control-plane-695dc-tr9jl
    type: Hostname
  - address: 10.1.130.204
    type: InternalIP

The relevant changes are in the last commit: 6b3ba18

Which issue(s) this PR fixes:
Part of #2906

Special notes for your reviewer:
In draft until the following PRs are merged:

Release note:


Copy link
Contributor

gardener-prow bot commented Jul 9, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@gardener-prow gardener-prow bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. area/ipcei IPCEI (Important Project of Common European Interest) kind/enhancement Enhancement, improvement, extension labels Jul 9, 2025
@gardener-prow gardener-prow bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cla: no Indicates the PR's author has not signed the cla-assistant.io CLA. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. and removed cla: no Indicates the PR's author has not signed the cla-assistant.io CLA. labels Jul 9, 2025
Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, lgtm

@gardener-prow gardener-prow bot added cla: no Indicates the PR's author has not signed the cla-assistant.io CLA. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. cla: no Indicates the PR's author has not signed the cla-assistant.io CLA. labels Jul 9, 2025
@gardener-ci-robot
Copy link
Contributor

The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:

  • After 15d of inactivity, lifecycle/stale is applied
  • After 15d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 7d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Mark this PR as rotten with /lifecycle rotten
  • Close this PR with /close

/lifecycle stale

@gardener-prow gardener-prow bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 26, 2025
@timebertt
Copy link
Member

/remove-lifecycle stale

@gardener-prow gardener-prow bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 28, 2025
@gardener-ci-robot
Copy link
Contributor

The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:

  • After 15d of inactivity, lifecycle/stale is applied
  • After 15d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 7d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Mark this PR as rotten with /lifecycle rotten
  • Close this PR with /close

/lifecycle stale

@gardener-prow gardener-prow bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 12, 2025
@maboehm
Copy link
Contributor Author

maboehm commented Aug 13, 2025

/remove-lifecycle stale
still waiting for the upstream PR to be merged. It is approved and I guess waiting for another opinion

@gardener-prow gardener-prow bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 13, 2025
@gardener-prow gardener-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 18, 2025
@timebertt timebertt changed the title [GEP-28] gardenadm bootstrap: Return Addresses in provider-local [GEP-28] gardenadm bootstrap: return Machine addresses in provider-local Aug 30, 2025
@gardener-prow gardener-prow bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 1, 2025
@gardener-prow gardener-prow bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 2, 2025
@maboehm maboehm marked this pull request as ready for review September 2, 2025 08:43
@gardener-prow gardener-prow bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 2, 2025
Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
/lgtm

Do you want to address the TODOs in

// For now, we expect that the Bastion can connect to the control plane machine via its hostname and that the hostname
// is equal to the machine's name.
// More cases will be supported once https://github.com/gardener/machine-controller-manager/pull/1012 gets released.
// TODO(timebertt): prefer Machine.status.addresses if present once mcm has been updated in gardener
machineHostname := machine.Name
// Until machine-controller-manager-provider-local reports the correct hostname/IP in Machine.status.addresses, we
// prefix the machine name with "machine-" because we know that this is the hostname of local machines.
// TODO(timebertt): drop this shortcut once https://github.com/gardener/gardener/pull/12489 has been merged.
if b.Shoot.GetInfo().Spec.Provider.Type == "local" {
machineHostname = "machine-" + machineHostname
}
return net.JoinHostPort(machineHostname, "22")
as well? (could be a separate PR)

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Sep 2, 2025
Copy link
Contributor

gardener-prow bot commented Sep 2, 2025

LGTM label has been added.

Git tree hash: 0bc193984ba0715c6d472e97bedf123b0767b4c9

@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 3, 2025
@gardener-prow gardener-prow bot requested a review from timebertt September 3, 2025 12:34
Copy link
Contributor

gardener-prow bot commented Sep 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from timebertt. For more information see the Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 3, 2025
@maboehm

This comment was marked as resolved.

Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Sep 3, 2025
Copy link
Contributor

gardener-prow bot commented Sep 3, 2025

LGTM label has been added.

Git tree hash: 3f1ce3cc7a99796eef7e47a9cebdd0afd19284d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ipcei IPCEI (Important Project of Common European Interest) cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants