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

Update Typha Deployment tolerations to helm charts so that it can be scheduled on any node #7979

Merged

Conversation

ffilippopoulos
Copy link
Contributor

@ffilippopoulos ffilippopoulos commented Aug 31, 2023

Description

Allow typha deployment to tolerate the taint set via kubelet when used with --cloud-provider=external flag. We need typha to be able to schedule as soon as possible on new nodes since calico-node relies on it.

Related issues/PRs

Related Slack thread:
https://calicousers.slack.com/archives/C0BCA117T/p1693469918340899

Todos

Someone should run the respective make target to generate manifests picking up this change.

Release Note

Update Typha Deployment tolerations to helm charts so that it can be scheduled on any node.

Allow typha deployment to tolerate the taint set via kubelet when used with
--cloud-provider=external flag. We need typha to be able to schedule as
soon as possible on new nodes since calico-node relies on it.
Related Slack thread:
https://calicousers.slack.com/archives/C0BCA117T/p1693469918340899
@ffilippopoulos ffilippopoulos requested a review from a team as a code owner August 31, 2023 11:27
@marvin-tigera marvin-tigera added this to the Calico v3.27.0 milestone Aug 31, 2023
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Aug 31, 2023
@lwr20
Copy link
Member

lwr20 commented Aug 31, 2023

I think Typha and calico-node should have the exact same Tolerations since calico-node requires Typha to be up to come up itself.

Can a core-maintainer confirm that position please?

Co-authored-by: Lance Robson <lance@tigera.io>
ffilippopoulos added a commit to utilitywarehouse/calico-manifests that referenced this pull request Sep 4, 2023
ffilippopoulos added a commit to utilitywarehouse/calico-manifests that referenced this pull request Sep 4, 2023
* Allow calico-typha Deployment to be scheduled on all nodes

projectcalico/calico#7979

* Schedule calico-typha on master nodes
@coutinhop coutinhop added docs-not-required Docs not required for this change and removed docs-pr-required Change is not yet documented labels Sep 7, 2023
@coutinhop
Copy link
Contributor

/sem-approve

@caseydavenport
Copy link
Member

@lwr20 @coutinhop anything else we need from this prior to merge?

The one thing I can see is that tests are failing - @ffilippopoulos you need to run make generate to update generated files.

@coutinhop
Copy link
Contributor

@lwr20 @coutinhop anything else we need from this prior to merge?

I don't think so, @lwr20 please correct me if I'm wrong.

@coutinhop
Copy link
Contributor

/sem-approve

@caseydavenport caseydavenport merged commit 0d6cd40 into projectcalico:master Sep 28, 2023
2 checks passed
@coutinhop coutinhop changed the title Typha tolerate node.cloudprovider.kubernetes.io/uninitialized taint Update Typha Deployment tolerations to helm charts so that it can be scheduled on any node Sep 28, 2023
coutinhop added a commit that referenced this pull request Sep 28, 2023
…elease-v3.26

[release-v3.26] Auto pick #7979: Typha tolerate
coutinhop added a commit that referenced this pull request Sep 28, 2023
…elease-v3.25

[release-v3.25] Auto pick #7979: Typha tolerate
coutinhop added a commit that referenced this pull request Sep 28, 2023
…elease-v3.24

[release-v3.24] Auto pick #7979: Typha tolerate
@ffilippopoulos ffilippopoulos deleted the calico-typha-tolerations branch October 2, 2023 06:45
ilia1243 added a commit to Netcracker/KubeMarine that referenced this pull request Nov 27, 2023
koryaga pushed a commit to Netcracker/KubeMarine that referenced this pull request Nov 28, 2023
… check (#551)

* Clarify requirements for opened TCP ports

* Major rework in network connectivity checks

1. Clarified listened and target ports for each node role.
2. Added UDP ports check (53 CoreDNS)
3. Connect each to each node.
4. Do not skip check if some node does not have python, or some ports are already listened.
5. Make connection attempts in parallel.
6. Only connect to listened ports or container ports instead of sending random stream of bytes.

* Implement checking connectivity to VRRP IP

* Update Installation.md

* Fix floating issue at port listeners startup

If the process is exited just after first failed attempt to read from pipe, the output is not checked and the connectivity check is terminated with error.

The solution is to check if the process is exited first.

* Calico Typha can be deployed on control planes

projectcalico/calico#7979

---------

Co-authored-by: Shoaib Mohammed <94443646+shmo1218@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants