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

chore(karpenter): upgrade karpenter to v0.32.6 #16327

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

moshevayner
Copy link
Member

What this PR does / why we need it:
Bumps karpenter version to 0.32.6

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

Special notes for your reviewer:
Release page

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 7, 2024
@moshevayner moshevayner marked this pull request as draft February 7, 2024 21:28
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 7, 2024
@moshevayner
Copy link
Member Author

/test all

Comment on lines 1609 to 1625
- key: kubernetes.io/os
operator: In
values:
- linux
- key: karpenter.sh/provisioner-name
operator: DoesNotExist
- key: node-role.kubernetes.io/control-plane
operator: Exists
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
- key: karpenter.sh/provisioner-name
- key: karpenter.sh/nodepool
operator: DoesNotExist
- key: node-role.kubernetes.io/master
operator: Exists
Copy link
Member

Choose a reason for hiding this comment

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

This block has to be reverted.

Comment on lines 1643 to 1646
- key: node-role.kubernetes.io/master
operator: Exists
- key: node-role.kubernetes.io/control-plane
operator: Exists
Copy link
Member

Choose a reason for hiding this comment

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

This block has to be reverted.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that makes sense. I must've overlooked those, and that could make sense as to why the tests are failing.
Let me give that a try.
Thanks for catching that!

@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 ask for approval from hakman. 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

@moshevayner
Copy link
Member Author

/retest

@moshevayner
Copy link
Member Author

/retest

@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Feb 8, 2024

@moshevayner: The following tests 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-kops-e2e-aws-upgrade-k127-ko127-to-k128-kolatest-karpenter 3a76e1f link false /test pull-kops-e2e-aws-upgrade-k127-ko127-to-k128-kolatest-karpenter
pull-kops-e2e-aws-karpenter 3a76e1f link true /test pull-kops-e2e-aws-karpenter

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.

@hakman
Copy link
Member

hakman commented Feb 8, 2024

I guess CRDs need updating:

I0208 05:04:17.581270    5067 addon.go:192] Applying update from "s3://k8s-kops-prow/e2e-pr16327.pull-kops-e2e-aws-karpenter.test-cncf-aws.k8s.io/addons/karpenter.sh/k8s-1.19.yaml"
I0208 05:04:17.581294    5067 s3fs.go:378] Reading file "s3://k8s-kops-prow/e2e-pr16327.pull-kops-e2e-aws-karpenter.test-cncf-aws.k8s.io/addons/karpenter.sh/k8s-1.19.yaml"
W0208 05:04:17.942636    5067 health.go:69] expected status.conditions to be list, got <nil>
W0208 05:04:17.989700    5067 health.go:69] expected status.conditions to be list, got <nil>
W0208 05:04:18.004385    5067 health.go:69] expected status.conditions to be list, got <nil>
W0208 05:04:18.037816    5067 health.go:69] expected status.conditions to be list, got <nil>
W0208 05:04:18.104261    5067 health.go:69] expected status.conditions to be list, got <nil>
W0208 05:04:18.185098    5067 health.go:69] expected status.conditions to be list, got <nil>
I0208 05:04:18.279025    5067 health.go:63] status conditions not found for PodDisruptionBudget.policy:kube-system/karpenter
I0208 05:04:18.478384    5067 health.go:63] status conditions not found for Secret:kube-system/karpenter-cert
I0208 05:04:19.883033    5067 health.go:63] status conditions not found for Service:kube-system/karpenter
I0208 05:04:19.982831    5067 health.go:63] status conditions not found for Deployment.apps:kube-system/karpenter
I0208 05:04:20.081517    5067 health.go:63] status conditions not found for MutatingWebhookConfiguration.admissionregistration.k8s.io:defaulting.webhook.karpenter.k8s.aws
I0208 05:04:20.178238    5067 health.go:63] status conditions not found for ValidatingWebhookConfiguration.admissionregistration.k8s.io:validation.webhook.karpenter.sh
I0208 05:04:20.277927    5067 health.go:63] status conditions not found for ValidatingWebhookConfiguration.admissionregistration.k8s.io:validation.webhook.config.karpenter.sh
I0208 05:04:20.376625    5067 health.go:63] status conditions not found for ValidatingWebhookConfiguration.admissionregistration.k8s.io:validation.webhook.karpenter.k8s.aws
W0208 05:04:20.376686    5067 results.go:63] error from apply on karpenter.k8s.aws/v1alpha1, Kind=AWSNodeTemplate /nodes: error getting rest mapping for karpenter.k8s.aws/v1alpha1, Kind=AWSNodeTemplate: no matches for kind "AWSNodeTemplate" in version "karpenter.k8s.aws/v1alpha1"
W0208 05:04:20.376713    5067 results.go:63] error from apply on karpenter.sh/v1beta1, Kind=NodePool /nodes: error getting rest mapping for karpenter.sh/v1beta1, Kind=NodePool: no matches for kind "NodePool" in version "karpenter.sh/v1beta1"
W0208 05:04:20.376746    5067 results.go:56] consistency error (healthy counts): &applyset.ApplyResults{total:30, applySuccessCount:28, applyFailCount:2, healthyCount:28, unhealthyCount:0}

@moshevayner moshevayner changed the base branch from master to dependencies/update-1658470204 February 11, 2024 21:31
@hakman hakman changed the base branch from dependencies/update-1658470204 to master March 14, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/addons area/api cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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.

Unable to configure disruption controls for karpenter
3 participants