cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

:sparkles: Add support to specify PartitionNumber of placement group

Open chiragkyal opened this issue 1 year ago • 4 comments
trafficstars

What type of PR is this? /kind feature

What this PR does / why we need it:

Adds support for users to specify the partition number (PartitionNumber) of a placement group, identified by PlacementGroupName while creating instances.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes https://github.com/kubernetes-sigs/cluster-api-provider-aws/issues/4870

Special notes for your reviewer:

Checklist:

  • [x] squashed commits
  • [ ] includes documentation
  • [x] includes emojis
  • [x] adds unit tests
  • [ ] adds or updates e2e tests

Release note:

Add support to specify PartitionNumber of placement group in instances.

chiragkyal avatar Mar 19 '24 07:03 chiragkyal

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: chiragkyal / name: Chirag Kyal (7e79b8b162fbb773e3d9f15a6d37d2ffb2c1333c)

Welcome @chiragkyal!

It looks like this is your first PR to kubernetes-sigs/cluster-api-provider-aws 🎉. 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-sigs/cluster-api-provider-aws 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. :smiley:

k8s-ci-robot avatar Mar 19 '24 07:03 k8s-ci-robot

Hi @chiragkyal. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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/test-infra repository.

k8s-ci-robot avatar Mar 19 '24 07:03 k8s-ci-robot

/assign @Ankitasw

chiragkyal avatar Mar 27 '24 12:03 chiragkyal

/lgtm

nrb avatar Apr 03 '24 15:04 nrb

/test pull-cluster-api-provider-aws-e2e /test pull-cluster-api-provider-aws-e2e-eks

damdo avatar Apr 03 '24 19:04 damdo

/test pull-cluster-api-provider-aws-e2e

chiragkyal avatar Apr 04 '24 05:04 chiragkyal

/test pull-cluster-api-provider-aws-e2e

damdo avatar Apr 04 '24 09:04 damdo

Is this related to the PR changes? I'm not quite sure.

Summarizing 1 Failure:
  [FAIL] [unmanaged] [Cluster API Framework] Clusterctl Upgrade Spec [from latest v1beta1 release to v1beta2] [AfterEach] Should create a management cluster and then upgrade all the providers
  /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/cluster_helpers.go:176

chiragkyal avatar Apr 04 '24 09:04 chiragkyal

Looks like a flake timeout to me, hence the retest. Let's see.

damdo avatar Apr 04 '24 10:04 damdo

All green :tada: /cc @vincepri @Ankitasw

chiragkyal avatar Apr 04 '24 12:04 chiragkyal

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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 avatar Apr 08 '24 08:04 k8s-ci-robot