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.36.x #6621

Merged
merged 3 commits into from
Aug 8, 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.36

How was this change tested?

  • make presubmit

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.

@coveralls
Copy link

coveralls commented Jul 31, 2024

Pull Request Test Coverage Report for Build 10294998169

Details

  • 256 of 718 (35.65%) changed or added relevant lines in 10 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-4.7%) to 77.631%

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/apis/v1/ec2nodeclass_conversion.go 184 190 96.84%
pkg/webhooks/webhooks.go 0 6 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%
Files with Coverage Reduction New Missed Lines %
pkg/providers/amifamily/ami.go 1 90.43%
pkg/fake/utils.go 2 94.56%
Totals Coverage Status
Change from base Build 9133642145: -4.7%
Covered Lines: 5598
Relevant Lines: 7211

💛 - Coveralls

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

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-71ce695cff5a6a3a956f05d88e77592abae7d312.
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-71ce695cff5a6a3a956f05d88e77592abae7d312" --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-36 branch 2 times, most recently from ca79a9f to 6f25a01 Compare August 2, 2024 14:56
@engedaam engedaam force-pushed the add-webhook-36 branch 9 times, most recently from f3fff66 to 4dc5834 Compare August 3, 2024 13:47
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-4dc58344ad34642fa1269d3deb1dc66604d1225e.
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-4dc58344ad34642fa1269d3deb1dc66604d1225e" --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-36 branch 5 times, most recently from 0cdd96c to 30b9343 Compare August 6, 2024 05:58
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-30b93433cc57e547aa37eb7142e109a2b2850aa4.
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-30b93433cc57e547aa37eb7142e109a2b2850aa4" --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-a671e5afc7e528ad712e1a9916c7966bcab2378f.
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-a671e5afc7e528ad712e1a9916c7966bcab2378f" --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 tzneal August 6, 2024 15:06
@engedaam engedaam force-pushed the add-webhook-36 branch 3 times, most recently from 134e66c to 7b94ada Compare August 6, 2024 17:58
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-36 branch 2 times, most recently from 04124f2 to 26bb83b Compare August 6, 2024 20:47
njtran
njtran previously approved these changes Aug 6, 2024
Copy link
Contributor

@njtran njtran left a comment

Choose a reason for hiding this comment

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

LGTM

jonathan-innis
jonathan-innis previously approved these changes Aug 8, 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 🚀

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 🚀

@jonathan-innis jonathan-innis merged commit ac671a8 into aws:release-v0.36.x Aug 8, 2024
13 checks passed
@engedaam engedaam deleted the add-webhook-36 branch August 26, 2024 15:55
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