You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to find istio version that is installed in my cluster but unable to do so.
Expected Behavior
Support bundle check should provide right output.
Steps To Reproduce
Here is my manifest:
apiVersion: troubleshoot.sh/v1beta2kind: SupportBundlemetadata:
name: supportbundle-testspec:
collectors:
- cluster-resources:
namespaces:
- istio-systemanalyzers:
- clusterResource:
checkName: Istio-versionkind: deploymentsnamespace: istio-systemname: istiodyamlPath: 'metadata.labels."operator.istio.io/version"'regex: "1.24.0"outcomes:
- pass:
when: ">= 1.24.0"message: "Your cluster meets the recommended and required istio version."
- fail:
when: "< 1.24.0"message: "The application requires at least istio 1.24.0"
I see the istio manifest is getting generated inside tar file. (support-bundle-2025-01-23T14_45_29/cluster-resources/deployments/istio-system.json)
Result I get is:
x Istio-version resource does not exist
Additional Context
Include the following information.
Troubleshoot version: 0.115.1
The text was updated successfully, but these errors were encountered:
I realized that I was using wrong kind. It should be deployment, not deployments.
Now getting a different issue. When I run my check, somehow the support-bundle does not work with regex?
Command just exits without any output.
Bug Description
I am trying to find istio version that is installed in my cluster but unable to do so.
Expected Behavior
Support bundle check should provide right output.
Steps To Reproduce
Here is my manifest:
I see the istio manifest is getting generated inside tar file. (support-bundle-2025-01-23T14_45_29/cluster-resources/deployments/istio-system.json)
Result I get is:
x Istio-version resource does not exist
Additional Context
Include the following information.
The text was updated successfully, but these errors were encountered: