We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I might just be missing something obvious, I want to get custom resources - specifically virtualservices from istio.
With kubectl I can do that with the following: kubectl get virtualservices --all-namespaces -v=8
kubectl
kubectl get virtualservices --all-namespaces -v=8
which results in a GET for the following path /apis/networking.istio.io/v1beta1/virtualservices?limit=500 and the expected services are listed.
GET
/apis/networking.istio.io/v1beta1/virtualservices?limit=500
in Go I can do something like this to build a request for custom resources:
virtualServiceGVR := schema.GroupVersionResource{ Group: "networking.istio.io", Version: "v1alpha3", Resource: "virtualservices", } virtualServices, err := client.Resource(virtualServiceGVR).List(metav1.ListOptions{})
Documented here GroupVersionResource
However I can't find something similar the CoreV1Api, am I missing something obvious? Is this feature available?
The text was updated successfully, but these errors were encountered:
As suspected, there was an obvious solution, which can be found here:
javascript/src/gen/api/customObjectsApi.ts
Line 1365 in e150480
Sorry, something went wrong.
No branches or pull requests
Hello,
I might just be missing something obvious, I want to get custom resources - specifically virtualservices from istio.
With
kubectl
I can do that with the following:kubectl get virtualservices --all-namespaces -v=8
which results in a
GET
for the following path/apis/networking.istio.io/v1beta1/virtualservices?limit=500
and the expected services are listed.in Go I can do something like this to build a request for custom resources:
Documented here GroupVersionResource
However I can't find something similar the CoreV1Api, am I missing something obvious? Is this feature available?
The text was updated successfully, but these errors were encountered: