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
Calico Typha custom label and annotations are not working #7838
Comments
Hi @mehmetyazicioglu, could you please fix the formatting of the yaml? The indentation is off as of how it is, please use triple backticks ``` so it shows up correctly. From what we could make of it, it looks like you mixed up the type and name of the fields in our documentation. Instead of "PodTemplate" or "TyphaDeploymentPodTemplateSpec", which are types, try using just "template, which is the field name. |
@coutinhop thanks for the reply but i am still having the same similar problem.
I tried this way but still the same error
and my configuration part is
I tried this
error validating data: ValidationError(Installation.spec.typhaDeployment): unknown field "pod" in io.tigera.operator.v1.Installation.spec.typhaDeployment I also checked this issue tigera/operator#1990 here is MR for the custom template https://github.com/tigera/operator/pull/2063/files |
@coutinhop thank you very much the tip, I have figured out the labelling, the ticket can be closed.
|
I would like to label typha pods to collect their logs to Kibana, but I tried many different values from the chart installation which did not work out.
Expected Behavior
being able to label and annotate Typha pods without manually patching them.
Current Behavior
Possible Solution
I checked official documentation but it is still not working
https://docs.tigera.io/calico/3.24/reference/installation/api#operator.tigera.io/v1.ComponentResource
It would be nice to have a sample for this on github or documentation.
@caseydavenport I believe there was replacement for "componentResources" field to be used "Deprecated. Please use CalicoNodeDaemonSet, TyphaDeployment, and KubeControllersDeployment."
I get the error PodTemplate is not a valid variable. I used "TyphaDeploymentPodTemplateSpec" or "TyphaDeploymentPodSpec" which I got the same invalid variable name. what am I missing here?
Context
Your Environment
The text was updated successfully, but these errors were encountered: