projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
5.89k stars 1.31k forks source link

feature request: Allow for the Calico Typha PDB to be configured with new fields #9237

Open peterabarr opened 3 days ago

peterabarr commented 3 days ago

Expected Behavior

Currently the calico-typha PDB is controlled by the Installation custom resource from Tigera Operator. I would like an option to be able to configure it so that it can use unhealthyPodEvictionPolicy.

Current Behavior

It does not seem possible to add new fields to the calico-typha PDB.

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

I want to try out unhealthyPodEvictionPolicy as it's a new feature but currently it doesn't seem possible with the calico-typha PDB.

Your Environment

caseydavenport commented 2 days ago

@peterabarr have you tried creating a second PDB that selects Typha? I haven't tried it myself, but the API seems to suggest that you can have multiple PDBs selecting the same pods.