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

PMM-13553 Revert the upgrade of kong #3319

Merged
merged 6 commits into from
Nov 19, 2024
Merged

Conversation

ademidoff
Copy link
Member

PMM-13533

Link to the Feature Build: SUBMODULES-3771

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

@ademidoff ademidoff changed the base branch from main to v3 November 18, 2024 14:12
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.53%. Comparing base (45998f9) to head (f83b639).
Report is 1 commits behind head on v3.

Additional details and impacted files
@@           Coverage Diff           @@
##               v3    #3319   +/-   ##
=======================================
  Coverage   43.53%   43.53%           
=======================================
  Files         366      366           
  Lines       44169    44169           
=======================================
  Hits        19231    19231           
+ Misses      23255    23252    -3     
- Partials     1683     1686    +3     
Flag Coverage Δ
admin 11.51% <ø> (+0.04%) ⬆️
agent 51.96% <ø> (ø)
managed 45.24% <ø> (-0.01%) ⬇️
vmproxy 68.57% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@ademidoff ademidoff marked this pull request as ready for review November 18, 2024 16:52
@ademidoff ademidoff requested review from a team as code owners November 18, 2024 16:52
@ademidoff ademidoff requested review from BupycHuk, idoqo and JiriCtvrtka and removed request for a team November 18, 2024 16:52
Comment on lines 160 to 165
- name: Disable grafana
ini_file:
path: /etc/supervisord.d/grafana.ini
section: program:grafana
option: autostart
value: "false"
Copy link
Member

Choose a reason for hiding this comment

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

let's enable it after initialization

Copy link
Member Author

@ademidoff ademidoff Nov 18, 2024

Choose a reason for hiding this comment

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

That seems to be redundant, since pmm-managed generates grafana.ini anyway. Therefore, it will get enabled before we know it. :)

Copy link
Member

Choose a reason for hiding this comment

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

it will slowdown first initialization and we will loose time that we win by running initialization during build time

Copy link
Member Author

@ademidoff ademidoff Nov 18, 2024

Choose a reason for hiding this comment

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

Btw, the block above is not even necessary given the current initial grafana.ini config.

Copy link
Member Author

Choose a reason for hiding this comment

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

Moreover, setting autostart:true does not do anything on its own - the service will not restart without supervisord, which either needs to restart or to reread the config.

@ademidoff ademidoff enabled auto-merge (squash) November 19, 2024 12:34
@ademidoff ademidoff merged commit 82310f6 into v3 Nov 19, 2024
32 checks passed
@ademidoff ademidoff deleted the PMM-13553-revert-upgrade-of-kong branch November 19, 2024 12:42
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.

3 participants