Where can I find the URL for Kubernetes CRDs?



Out of the box the Kubernetes plugin does not recognize Istio VirtualServices:

But we can add its CRD from Settings > Language and Frameworks > Kubernetes:

The question is, where can I find the URL for a given CRD, such as VirtualService?


PS: Please support Markdown or Asciidoc in the Hub!

Comment actions Permalink

Hi Behrang,

There are various places where Istio CRDs can be found, e.g.:

These ones are not official though, and I wouldn't know where the official ones are and whether they even exist.

However, if you are working with a cluster where istio is installed and have enough permissions, you can enable the option 'Use API schema from the active cluster if available' (Preferences | Languages & Frameworks | Kubernetes), and all the CRDs from the connected cluster will become available automatically.

Comment actions Permalink

If still relevant. The official CRDs are at https://raw.githubusercontent.com/istio/api/master/kubernetes/customresourcedefinitions.gen.yaml

Hint: You can use a specific version using the tag inside the URL e.g. https://raw.githubusercontent.com/istio/api/1.16.0/kubernetes/customresourcedefinitions.gen.yaml and reset schema cache if needed


Please sign in to leave a comment.