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

fix(metrics-operator): use correct port for serving metrics api #954

Merged
merged 6 commits into from
Mar 6, 2023

Conversation

bacherfl
Copy link
Member

@bacherfl bacherfl commented Mar 2, 2023

Follow up to #823
This PR fixes the setup of the K8s service and deployment to be able to access the metrics API endpoint

@netlify
Copy link

netlify bot commented Mar 2, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 0828b48
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/6401d73c9190a500083fca37
😎 Deploy Preview https://deploy-preview-954--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #954 (0828b48) into main (bd49357) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #954      +/-   ##
==========================================
+ Coverage   57.43%   57.50%   +0.06%     
==========================================
  Files         119      119              
  Lines        9913     9914       +1     
==========================================
+ Hits         5694     5701       +7     
+ Misses       4019     4015       -4     
+ Partials      200      198       -2     
Impacted Files Coverage Δ
metrics-operator/pkg/metrics/server.go 68.80% <100.00%> (+0.25%) ⬆️
...lers/lifecycle/keptnworkloadinstance/controller.go 82.95% <0.00%> (+1.34%) ⬆️
...ptnworkloadinstance/reconcile_prepostevaluation.go 90.90% <0.00%> (+9.09%) ⬆️
Flag Coverage Δ
certificate-operator 64.15% <ø> (ø)
component-tests 50.82% <ø> (+0.49%) ⬆️
lifecycle-operator 53.63% <ø> (ø)
metrics-operator 62.98% <100.00%> (+0.03%) ⬆️
scheduler 21.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@bacherfl bacherfl marked this pull request as ready for review March 2, 2023 09:29
toddbaert
toddbaert previously approved these changes Mar 2, 2023
Copy link

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

I can confirm these numbers are all the same number. Approved. 😎

thschue
thschue previously approved these changes Mar 2, 2023
Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

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

lgtm

@bacherfl bacherfl dismissed stale reviews from thschue and toddbaert via fadfea1 March 2, 2023 14:09
thschue
thschue previously approved these changes Mar 3, 2023
Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@sonarcloud
Copy link

sonarcloud bot commented Mar 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@thschue thschue 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
Member

@thisthat thisthat left a comment

Choose a reason for hiding this comment

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

LGTM

@bacherfl bacherfl merged commit d29ab64 into keptn:main Mar 6, 2023
@bacherfl bacherfl deleted the fix/metrics-api-port branch March 6, 2023 07:24
@keptn-bot keptn-bot mentioned this pull request Mar 6, 2023
thschue pushed a commit to thschue/lifecycle-controller that referenced this pull request Mar 7, 2023
…n#954)

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@keptn-bot keptn-bot mentioned this pull request Mar 16, 2023
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.

None yet

5 participants