写一个用Java编写的Kubernetes Isito YAML文件(包含Gateway和VirtualService)。

huangapple go评论37阅读模式
英文:

write isito yaml(kind Gateway , kind VirtualService) file for kubernates in java

问题

我想在Java中编写Kubernetes的Istio YAML文件(kind Gateway,kind VirtualService)。
我正在参考的示例YAML文件是this
因此,我只想使用Kubernetes/Istio客户端来生成YAML内容。
我已经尝试过fabric8,但没有成功。

英文:

i want to write isito yaml (kind Gateway , kind VirtualService) file for kubernates in java
this is the sample yaml file i am referring

so i want to use only kubernates/isito client for generating the yaml content

i have tried fabic8, but no luck.

答案1

得分: 2

终于,在经过努力之后找到了这个链接 https://github.com/snowdrop/istio-java-api/blob/master/istio-client/src/test/java/me/snowdrop/istio/client/it/GatewayIT.java 并解决了问题。

英文:

finally, after struggle found this https://github.com/snowdrop/istio-java-api/blob/master/istio-client/src/test/java/me/snowdrop/istio/client/it/GatewayIT.java and resolved

huangapple
  • 本文由 发表于 2020年7月23日 03:30:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/63041816.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定