Skip to content
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

[CA]: hetzner cloud firewall feature #4185

Merged

Conversation

sergeyshevch
Copy link
Member

Resolve #4008

Adding support for hcloud firewall feature.
Upgrading hcloud client lib to 1.28.0

@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Jul 8, 2021
@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
  • If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/
  • Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: [email protected]

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/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Jul 8, 2021
@k8s-ci-robot
Copy link
Contributor

Welcome @sergeyshevch!

It looks like this is your first PR to kubernetes/autoscaler 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/autoscaler has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 8, 2021
@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from b6bd7f1 to 936bc04 Compare July 8, 2021 19:10
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Jul 8, 2021
@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 936bc04 to c140c82 Compare July 8, 2021 19:18
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jul 8, 2021
@sergeyshevch
Copy link
Member Author

/assign @aleksandra-malinowska

@sergeyshevch
Copy link
Member Author

Most of changes in this PR just moved here from https://github.com/hetznercloud/hcloud-go last release. For using firewall feature of client lib we need to get newer version that was on autoscaler repo. So if it needed i can move it to another PR

@sergeyshevch
Copy link
Member Author

@Jeffwan github also suggested you as a reviewer. Can you take a look?

@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 3961002 to 80a9768 Compare July 26, 2021 17:25
@sergeyshevch
Copy link
Member Author

@Jeffwan @aleksandra-malinowska Can someone of you look into this PR? I currently stopping works with Hetzner cloud and i guess it wil be good to review and merge this PR

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Dec 22, 2021
@fgbreel
Copy link

fgbreel commented Jan 13, 2022

Hello, I'm pretty much interested in this feature too because computers created by the cluster-autoscaler currently have no firewall assigned to them in Hetzner.

Thank you!

@AzSiAz
Copy link

AzSiAz commented Jan 18, 2022

@fgbreel Until this is merged, if this is merged, you can use label feature of hetzner firewall, to have them automatically applied 😄

@fgbreel
Copy link

fgbreel commented Jan 18, 2022

@AzSiAz Thanks for the tip, I will check that out!

@sergeyshevch
Copy link
Member Author

@fgbreel I currently don't have an actual cluster setup on hetzner. I can rebase this PR but it was not reviewed by any contributor after a few pings.

If you are interested in this please ping someone on k8s slack for review.
I will rebase this PR in a few days

@fgbreel
Copy link

fgbreel commented Jan 31, 2022

Thanks @sergeyshevch for the update. Will do it as soon I manage to find some time for it.

At the moment I'm using the labels to assign the firewall, targeting instances containing the hcloud/node-group label it as recommended by @AzSiAz and seems to work well.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 2, 2022
@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 2c336e8 to 2007172 Compare March 18, 2022 12:10
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Mar 18, 2022
@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 2007172 to 55872a7 Compare March 18, 2022 12:13
Signed-off-by: Sergey Shevchenko <[email protected]>
@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 55872a7 to ac464a6 Compare March 18, 2022 12:17
@sergeyshevch
Copy link
Member Author

@LKaemmerling @Fgruntjes Looks like you wrote most of the code in this provider. Maybe it will be a good idea to add you to the OWNERS file?

@LKaemmerling
Copy link
Contributor

Hey @sergeyshevch,

thank you for the ping and the great MR! We (Hetzner Cloud) maintain the parts already, and of course, it would be good if we were added to the Owners file. (The best would be me and @samcday).

I just reviewed your changes and they look fine from my side. So this is basically my

/approve

@sergeyshevch
Copy link
Member Author

sergeyshevch commented Mar 18, 2022

@LKaemmerling Thanks for the review! I will add you to OWNERS file

@sergeyshevch
Copy link
Member Author

/unassign @aleksandra-malinowska

@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 18, 2022
@sergeyshevch
Copy link
Member Author

@LKaemmerling I cannot add you to OWNERS file because you are not in Kubernetes organization

@sergeyshevch sergeyshevch force-pushed the feature/ca/hetzner-firewall branch from 888f3e1 to ac464a6 Compare March 18, 2022 16:39
@sergeyshevch
Copy link
Member Author

/verify-owners

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 18, 2022
@emrahcetiner
Copy link

any updates on this? @LKaemmerling

@sergeyshevch
Copy link
Member Author

@emrahcetiner we need approve from @aleksandra-malinowska

@gjtempleton gjtempleton added the area/provider/hetzner Issues or PRs related to Hetzner provider label Apr 14, 2022
Copy link
Contributor

@mwielgus mwielgus left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 6, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LKaemmerling, mwielgus, sergeyshevch

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 6, 2022
@k8s-ci-robot k8s-ci-robot merged commit 6cdb8da into kubernetes:master Jun 6, 2022
@efpe
Copy link

efpe commented Jul 10, 2022

When will this be released? Is there anything we can do to speed up the process?

navinjoy pushed a commit to navinjoy/autoscaler that referenced this pull request Oct 26, 2022
…er-firewall

[CA]: hetzner cloud firewall feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/cluster-autoscaler area/provider/hetzner Issues or PRs related to Hetzner provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloudprovider Hetzner firewall feature