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

bump k8s & cluster api dependency #4569

Closed
wants to merge 3 commits into from

Conversation

hzxuzhonghu
Copy link
Member

@hzxuzhonghu hzxuzhonghu commented Oct 11, 2023

What type of PR is this?

What this PR does / why we need it:

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 #4505

Special notes for your reviewer:

Checklist:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 11, 2023
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Oct 11, 2023
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 12, 2023
@hzxuzhonghu
Copy link
Member Author

assign @vincepri

@dlipovetsky
Copy link
Contributor

This PR is increments the k8s.io packages and their dependencies.

But it also increments github.com/aws/aws-sdk-go. Can you move that to its own PR?

Can sigs.k8s.io/kustomize/api also be moved it its own PR?

@hzxuzhonghu
Copy link
Member Author

sure, BTW, what does make generate do? I run it and generated a new dir cluster-api-provider-aws, which is not included in this repo

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 13, 2023
@hzxuzhonghu
Copy link
Member Author

what do i need to do, since the conflict occurs too frequently

@hzxuzhonghu
Copy link
Member Author

hzxuzhonghu commented Oct 13, 2023

ping @dlipovetsky

This PR is increments the k8s.io packages and their dependencies.

But it also increments github.com/aws/aws-sdk-go. Can you move that to its own PR?

Can sigs.k8s.io/kustomize/api also be moved it its own PR?

I reverted aws-sdk-go, but the kustomize is related to k8s version, and it is automatically need to update as well

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 13, 2023
@richardcase
Copy link
Member

richardcase commented Oct 26, 2023

We normally bump the k8s/controller-runtime/capi dependencies at the same time. So bumping the k8s packages to v0.28.2 without the others isn't the process we follow.

However, CAPI main has been bumped and we could think about changing this PR to cover #4591. wdyt @hzxuzhonghu ?

@hzxuzhonghu
Copy link
Member Author

Sorry, I donot have bandwidth recently, anyone could take it over.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 31, 2023
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 17, 2023
@k8s-ci-robot
Copy link
Contributor

[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 assign killianmuldoon for approval. For more information see the Kubernetes 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

@hzxuzhonghu
Copy link
Member Author

@richardcase ptal

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 21, 2023
Copy link
Member

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

Overall this looks good, thanks @hzxuzhonghu.

Just some minor comments.

go.mod Outdated
k8s.io/cli-runtime v0.27.3
k8s.io/client-go v0.27.3
k8s.io/component-base v0.27.3
k8s.io/api v0.28.3
Copy link
Member

Choose a reason for hiding this comment

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

We could probably change this to 0.28.4 now but lets do that afterwards.

Copy link
Member Author

Choose a reason for hiding this comment

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

sgtm

Copy link
Member Author

Choose a reason for hiding this comment

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

done

controllers/awsmachine_controller.go Show resolved Hide resolved
pkg/cloud/scope/machine.go Show resolved Hide resolved
@richardcase
Copy link
Member

/lgtm

For final approval:

@Ankitasw @dlipovetsky @vincepri

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 21, 2023
@Ankitasw Ankitasw added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Nov 21, 2023
@Ankitasw
Copy link
Member

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

@richardcase
Copy link
Member

Due to the test failures:

/remove-lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 21, 2023
@richardcase
Copy link
Member

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

@k8s-ci-robot
Copy link
Contributor

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-api-provider-aws-e2e 6baa23b link false /test pull-cluster-api-provider-aws-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@hzxuzhonghu
Copy link
Member Author

does this mean cluster-api 1.16 is broken for aws?

  Expected
      <[]*v1beta1.MachinePool | len:0, cap:0>: []
  not to be empty
  In [It] at: /home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/cluster_topology_helpers.go:88 @ 11/21/23 20:50:19.951
  Full Stack Trace
    sigs.k8s.io/cluster-api/test/framework.UpgradeClusterTopologyAndWaitForUpgrade({_, _}, {{0x37f5f48, 0xc00073cfc0}, 0xc000bbcea0, 0xc000bd1900, {0xc000bb7bc9, 0x7}, {0xc000bb7bc0, 0x6}, ...})
    	/home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/cluster_topology_helpers.go:88 +0x40d
    sigs.k8s.io/cluster-api/test/e2e.ClusterUpgradeConformanceSpec.func2()
    	/home/prow/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/e2e/cluster_upgrade.go:157 +0x9f0

@Ankitasw
Copy link
Member

does this mean cluster-api 1.16 is broken for aws?

You might have to check the controller logs to know what is wrong

@hzxuzhonghu
Copy link
Member Author

You might have to check the controller logs to know what is wrong

Where is the log?

@hzxuzhonghu
Copy link
Member Author

maybe related kubernetes-sigs/cluster-api#9502

I am not familiar with that, can you guide me how to fix it @richardcase @Ankitasw

@Skarlso Skarlso removed their request for review November 24, 2023 12:25
@richardcase
Copy link
Member

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

Running again and then will investigate

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 28, 2023
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

sigs.k8s.io/cluster-api/test v1.5.3
sigs.k8s.io/controller-runtime v0.15.1
sigs.k8s.io/kustomize/api v0.13.4
sigs.k8s.io/cluster-api v1.6.0-beta.1
Copy link
Contributor

Choose a reason for hiding this comment

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

@hzxuzhonghu Are you able to pick this up again and update to the GA v1.6.0 release?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, i think i met some problems #4569 (comment)

Does 1.6.0 fix it

@nrb
Copy link
Contributor

nrb commented Jan 18, 2024

This is superceded by #4739

/close

@k8s-ci-robot
Copy link
Contributor

@nrb: Closed this PR.

In response to this:

This is superceded by #4739

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump k8s dependency to 1.28
6 participants