Closed jonathan-innis closed 4 days ago
Name | Link |
---|---|
Latest commit | a5e211329de44443ea10b7fe2d9ac1020befbd8d |
Latest deploy log | https://app.netlify.com/sites/karpenter-docs-prod/deploys/667f581ef1cc140008a84b05 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 9691760501: | 0.0% |
Covered Lines: | 5787 |
Relevant Lines: | 7315 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/webhooks/webhooks.go | 3 | 0.0% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 9704271327: | 0.01% |
Covered Lines: | 5785 |
Relevant Lines: | 7307 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/webhooks/webhooks.go | 3 | 0.0% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 9704271327: | 0.0% |
Covered Lines: | 5784 |
Relevant Lines: | 7307 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 9704271327: | 0.01% |
Covered Lines: | 5785 |
Relevant Lines: | 7307 |
Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-4fb047386122c42c021c401c3386b885c26def90
.
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-4fb047386122c42c021c401c3386b885c26def90" --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
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 3 | 0.0% | ||
<!-- | Total: | 0 | 3 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/operator/operator.go | 7 | 9.26% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 9720043516: | 0.0% |
Covered Lines: | 5786 |
Relevant Lines: | 7386 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/operator/operator.go | 0 | 2 | 0.0% | ||
<!-- | Total: | 0 | 2 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/providers/amifamily/ami.go | 1 | 90.56% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9720043516: | -0.01% |
Covered Lines: | 5785 |
Relevant Lines: | 7386 |
Fixes #N/A
Description
Add Prometheus metrics for the AWS SDK Go. This used https://github.com/jonathan-innis/aws-sdk-go-prometheus to hydrate client-side metrics into the AWS SDK Go calls until the upstream
aws-sdk-go
oraws-sdk-go-v2
support metrics out-of-the box.See: https://github.com/aws/aws-sdk-go-v2/issues/1744
How was this change tested?
Deploying Prometheus and the updated version with these prometheus metrics to my cluster and validating that they are returned on the prometheus metrics endpoint
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.