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: Add v1 APIs and Conversion webhooks for v0.33.x #6616

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

engedaam
Copy link
Contributor

Fixes #N/A

Description

  • Add v1 APIs and the conversion webhooks
  • This is a copy and from main to release a patch version of 0.33

How was this change tested?

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@engedaam engedaam force-pushed the add-webhook-33 branch 6 times, most recently from 365c291 to e111d50 Compare July 31, 2024 21:25
@coveralls
Copy link

coveralls commented Aug 2, 2024

Pull Request Test Coverage Report for Build 10273691339

Details

  • 258 of 732 (35.25%) changed or added relevant lines in 11 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-5.5%) to 77.118%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/apis/v1/ec2nodeclass_defaults.go 0 1 0.0%
pkg/apis/v1beta1/ec2nodeclass_conversion.go 0 2 0.0%
pkg/webhooks/webhooks.go 0 6 0.0%
pkg/cloudprovider/cloudprovider.go 3 12 25.0%
pkg/fake/cloudprovider.go 0 9 0.0%
pkg/apis/v1/ec2nodeclass_status.go 0 14 0.0%
pkg/apis/v1/ec2nodeclass.go 37 60 61.67%
pkg/apis/v1/zz_generated.deepcopy.go 0 410 0.0%
Totals Coverage Status
Change from base Build 9133634609: -5.5%
Covered Lines: 5261
Relevant Lines: 6822

💛 - Coveralls

@engedaam engedaam force-pushed the add-webhook-33 branch 2 times, most recently from ded1852 to 35720f2 Compare August 2, 2024 14:55
@engedaam engedaam force-pushed the add-webhook-33 branch 7 times, most recently from 2264eac to 0fbe597 Compare August 3, 2024 13:51
Copy link
Contributor Author

@engedaam engedaam left a comment

Choose a reason for hiding this comment

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

/karpenter snapshot

Copy link
Contributor

github-actions bot commented Aug 3, 2024

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-0fbe5976c8a8218ffda4d3dfe83f5721b1a399c0.
To install you must login to the ECR repo with an AWS account:

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 021119463062.dkr.ecr.us-east-1.amazonaws.com

helm upgrade --install karpenter oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter --version "0-0fbe5976c8a8218ffda4d3dfe83f5721b1a399c0" --namespace "kube-system" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

@engedaam engedaam force-pushed the add-webhook-33 branch 2 times, most recently from 47b2a39 to e4bf600 Compare August 5, 2024 22:56
Copy link
Contributor Author

@engedaam engedaam left a comment

Choose a reason for hiding this comment

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

/karpenter snapshot

Copy link
Contributor

github-actions bot commented Aug 6, 2024

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-e4bf600a8c9f26a3fa34593c1e68f4475c829006.
To install you must login to the ECR repo with an AWS account:

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 021119463062.dkr.ecr.us-east-1.amazonaws.com

helm upgrade --install karpenter oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter --version "0-e4bf600a8c9f26a3fa34593c1e68f4475c829006" --namespace "kube-system" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

@engedaam engedaam force-pushed the add-webhook-33 branch 3 times, most recently from 471f4e1 to d804eef Compare August 6, 2024 05:57
Copy link
Contributor Author

@engedaam engedaam left a comment

Choose a reason for hiding this comment

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

/karpenter snapshot

Copy link
Contributor

github-actions bot commented Aug 6, 2024

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-d804eef83dd80527a0fef39458abbdb270ac786e.
To install you must login to the ECR repo with an AWS account:

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 021119463062.dkr.ecr.us-east-1.amazonaws.com

helm upgrade --install karpenter oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter --version "0-d804eef83dd80527a0fef39458abbdb270ac786e" --namespace "kube-system" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

Copy link
Contributor Author

@engedaam engedaam left a comment

Choose a reason for hiding this comment

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

/karpenter snapshot

Copy link
Contributor

github-actions bot commented Aug 6, 2024

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-e0d4fc8bad440b19fa53ef8e47d3de3f1f8f69b0.
To install you must login to the ECR repo with an AWS account:

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 021119463062.dkr.ecr.us-east-1.amazonaws.com

helm upgrade --install karpenter oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter --version "0-e0d4fc8bad440b19fa53ef8e47d3de3f1f8f69b0" --namespace "kube-system" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

@engedaam engedaam marked this pull request as ready for review August 6, 2024 15:06
@engedaam engedaam requested a review from a team as a code owner August 6, 2024 15:06
@engedaam engedaam requested a review from jmdeal August 6, 2024 15:06
@engedaam engedaam force-pushed the add-webhook-33 branch 3 times, most recently from 3891d39 to ffdd361 Compare August 6, 2024 17:59
jonathan-innis
jonathan-innis previously approved these changes Aug 6, 2024
Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@engedaam engedaam force-pushed the add-webhook-33 branch 2 times, most recently from 974d141 to ac5c4d8 Compare August 6, 2024 20:42
@engedaam engedaam merged commit 631d089 into aws:release-v0.33.x Aug 7, 2024
8 checks passed
@engedaam engedaam deleted the add-webhook-33 branch August 7, 2024 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants