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

feat(cni): taint controller #4650

Merged
merged 41 commits into from
Aug 4, 2022
Merged

Conversation

slonka
Copy link
Contributor

@slonka slonka commented Jul 21, 2022

Signed-off-by: slonka slonka@users.noreply.github.com

Summary

Implementing the taint controller, more info in the issue attached.

Issues resolved

Fix #4560

Documentation

  • Link to the website documentation PR - I'll probably write more docs (than just which values to use) once all of the CNI stuff is ready

Testing

  • Unit tests - done it only on the E2E level the way the faq suggest
  • E2E tests
    - [ ] Manual testing on Universal do not apply here
  • Manual testing on Kubernetes

Backwards compatibility

- [ ] Update UPGRADE.md with any steps users will need to take when upgrading. - backwards compatible
- [ ] Add backport-to-stable label if the code follows our backporting policy - not subject to backport policy

slonka added 2 commits July 21, 2022 16:48
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2022

Codecov Report

Merging #4650 (55a9aa8) into master (feb77b1) will decrease coverage by 0.13%.
The diff coverage is 1.43%.

@@            Coverage Diff             @@
##           master    #4650      +/-   ##
==========================================
- Coverage   46.49%   46.36%   -0.14%     
==========================================
  Files         689      690       +1     
  Lines       46833    46969     +136     
==========================================
+ Hits        21775    21777       +2     
- Misses      23129    23264     +135     
+ Partials     1929     1928       -1     
Impacted Files Coverage Δ
app/cni/pkg/install/main.go 6.89% <0.00%> (-0.41%) ⬇️
app/kumactl/cmd/install/install_control_plane.go 73.97% <0.00%> (ø)
pkg/config/app/kuma-cp/config.go 39.45% <ø> (ø)
...ns/runtime/k8s/controllers/cni_taint_controller.go 0.00% <0.00%> (ø)
...d/install/context/install_control_plane_context.go 95.91% <100.00%> (ø)
pkg/plugins/runtime/gateway/route/sorter.go 71.79% <0.00%> (+5.12%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@slonka slonka changed the title feat(cni): add delay to the cni startup and a failing test [WIP] feat(cni): add delay to the cni startup and a failing test Jul 22, 2022
@slonka slonka changed the title [WIP] feat(cni): add delay to the cni startup and a failing test [WIP] feat(cni): taint controller Jul 22, 2022
slonka added 9 commits July 24, 2022 23:48
Signed-off-by: slonka <slonka@users.noreply.github.com>
…ardcoded one

Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
…dition

Signed-off-by: slonka <slonka@users.noreply.github.com>
test/e2e_k3d_only/cni/e2e_suite_test.go Outdated Show resolved Hide resolved
test/framework/interface.go Outdated Show resolved Hide resolved
slonka added 2 commits July 27, 2022 10:37
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
@slonka slonka changed the title [WIP] feat(cni): taint controller feat(cni): taint controller Jul 27, 2022
slonka added 2 commits July 27, 2022 15:20
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
@slonka slonka marked this pull request as ready for review July 27, 2022 14:11
@slonka slonka requested a review from a team as a code owner July 27, 2022 14:11
slonka added 2 commits July 28, 2022 11:02
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Copy link
Contributor

@lahabana lahabana left a comment

Choose a reason for hiding this comment

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

I'll have another look tomorrow

app/cni/pkg/install/main.go Outdated Show resolved Hide resolved
deployments/charts/kuma/README.md Outdated Show resolved Hide resolved
deployments/charts/kuma/templates/cni-daemonset.yaml Outdated Show resolved Hide resolved
mk/e2e.new.mk Show resolved Hide resolved
slonka and others added 3 commits July 29, 2022 12:22
Co-authored-by: Charly Molter <charly@molter.io>
Signed-off-by: Krzysztof Słonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
slonka added 4 commits August 2, 2022 13:59
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
slonka added 6 commits August 3, 2022 11:22
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
slonka added 2 commits August 4, 2022 13:31
…ject"

This reverts commit b9c1cf4.

Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
@slonka slonka force-pushed the feat/add-cni-taint-controller branch from 883fed8 to e801dc1 Compare August 4, 2022 11:31
slonka added 2 commits August 4, 2022 13:33
Signed-off-by: slonka <slonka@users.noreply.github.com>
Signed-off-by: slonka <slonka@users.noreply.github.com>
@slonka slonka merged commit db95c0e into kumahq:master Aug 4, 2022
@slonka slonka deleted the feat/add-cni-taint-controller branch August 4, 2022 12:39
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.

Guard against possible race condition in new CNI
6 participants