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(kuma-dp): remove envoy admin port flag #4574

Merged

Conversation

tharun208
Copy link
Contributor

Summary

remove deprecated admin-port command-line argument from kuma-dp

Full changelog

  • remove admin port config from kuma-cp and kubernetes side-car container
  • removed deprecate messages and deleted files
  • updated tests

Issues resolved

Fix #4002

Documentation

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Update UPGRADE.md with any steps users will need to take when upgrading.
  • Add backport-to-stable label if the code follows our backporting policy

@tharun208 tharun208 requested a review from a team as a code owner July 8, 2022 22:53
@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch 2 times, most recently from 7d8e691 to 758fa05 Compare July 8, 2022 23:17
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2022

Codecov Report

Merging #4574 (0c0623e) into master (b5ef221) will decrease coverage by 0.03%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master    #4574      +/-   ##
==========================================
- Coverage   47.05%   47.02%   -0.04%     
==========================================
  Files         677      675       -2     
  Lines       45176    45137      -39     
==========================================
- Hits        21258    21225      -33     
  Misses      22049    22049              
+ Partials     1869     1863       -6     
Impacted Files Coverage Δ
app/kuma-cp/cmd/run.go 29.41% <ø> (-0.83%) ⬇️
app/kuma-dp/cmd/run.go 62.24% <ø> (-5.56%) ⬇️
pkg/config/app/kuma-cp/config.go 39.45% <0.00%> (-1.11%) ⬇️
pkg/config/app/kuma-dp/config.go 60.86% <ø> (ø)
pkg/config/xds/bootstrap/config.go 46.87% <ø> (ø)
...pp/kuma-dp/pkg/dataplane/envoy/remote_bootstrap.go 63.79% <100.00%> (-0.31%) ⬇️
app/kuma-dp/cmd/dataplane.go 30.43% <0.00%> (-21.74%) ⬇️
pkg/core/resources/manager/cache.go 88.31% <0.00%> (+2.59%) ⬆️
pkg/xds/cache/once/once.go 100.00% <0.00%> (+5.00%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5ef221...0c0623e. Read the comment docs.

@jakubdyszkiewicz
Copy link
Contributor

Hey,

there seems to be a problem with a unit test.
Other than this it looks good, but I'd like @lobkovilya to also check it.

@tharun208
Copy link
Contributor Author

@jakubdyszkiewicz taking a look...

@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from 0c0623e to bea2212 Compare July 14, 2022 18:16
app/kuma-cp/cmd/run.go Outdated Show resolved Hide resolved
app/kuma-dp/cmd/run.go Outdated Show resolved Hide resolved
@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from bea2212 to 471099d Compare July 18, 2022 13:45
@tharun208 tharun208 requested a review from lobkovilya July 18, 2022 13:48
@lobkovilya
Copy link
Contributor

Also, please take a look at https://github.com/kumahq/kuma/blob/master/pkg/xds/bootstrap/generator.go#L111-L118. And I believe we can delete AdminPort from the BootstrapRequest, right?

@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from 471099d to b59a777 Compare July 19, 2022 09:38
@tharun208
Copy link
Contributor Author

https://github.com/kumahq/kuma/blob/master/pkg/xds/bootstrap/generator.go#L111-L118

addressed 👍🏻 thank's for pointing out

@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from b59a777 to 642e3c2 Compare July 19, 2022 09:50
@tharun208
Copy link
Contributor Author

@lobkovilya is it good to merge?

@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch 2 times, most recently from e41c635 to 30f3782 Compare July 22, 2022 09:59
@lobkovilya
Copy link
Contributor

@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from 30f3782 to a43b1eb Compare July 25, 2022 10:26
@tharun208
Copy link
Contributor Author

Fixes kumahq#4002

Signed-off-by: Tharun Rajendran <rajendrantharun@live.com>
@tharun208 tharun208 force-pushed the chore/remove_deprecated_admin_port_flag branch from a43b1eb to 196fcad Compare July 25, 2022 10:28
@lobkovilya
Copy link
Contributor

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Jul 25, 2022

update

✅ Branch has been successfully updated

@lobkovilya lobkovilya merged commit 3fe64a3 into kumahq:master Jul 25, 2022
@tharun208 tharun208 deleted the chore/remove_deprecated_admin_port_flag branch July 25, 2022 16:35
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.

Remove deprecated admin port in kuma-dp arg
4 participants