-
Notifications
You must be signed in to change notification settings - Fork 1.5k
The latest version of istio client does not support v1 #6971
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
Comments
Could you please elaborate on your question? There's I assume that your problem is with the IstioClient not exposing v1 API groups for DSL Access? This can be fixed. But again, note that this is not necessary at all if you're using the models directly. i.e. the Kubernetes Client does support Istio v1. |
@HuangGuanCaoFu have you attempted using the |
My English is not good, could you briefly introduce how to generate ? |
how to fixed ? I want to use istioClient to invoke DSL, by the way, can you give some demo using Kubernetes Client to invoke Istio V1? |
@andreaTP how to generate ? |
@manusa can you give some kubernetes Client invoke istio v1 demo? |
It depends on whatever resource you want to deal with. For example, for Gatewats: try (var client = new KubernetesClientBuilder().build()) {
// List
client.resources(io.fabric8.istio.api.networking.v1.Gateway.class).list();
// Get
client.resources(Gateway.class).inNamespace($namespace).withName($name).get();
// Delete
client.resources(Gateway.class).inNamespace($namespace).withName($name).delete();
// Create
client.resource(new io.fabric8.istio.api.networking.v1.GatewayBuilder()/*...*/.build()).create()
} In any case, I just created #6992 to add the DSL entry points too. |
Check the model supports v1 in the 7.0.1 version, but the istio client does not support v1!When will it be supported, or how to create a java version of istio cilent by myself?
The text was updated successfully, but these errors were encountered: