问题描述
我试图找到一个示例,帮助部署从Java kubernetes群集上的码头工人的形象。我碰到这是否fabric8,(),但无法找到一个具体的例子或API参考
I am trying to find an example that helps deploy a docker image on the kubernetes cluster from java. I came across fabric8,(http://fabric8.io/) that does this but could not find a specific example or API reference
推荐答案
有在这里建立一个复制器的例子:
There is an example of creating a Replication controller here:
https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/FullExample.java#L75
创建复制控制器是创建一个吊舱间接的,但推荐的方法。
Creating a Replication Controller is an indirect but recommended way to create a pod.
一个荚有一个或多个泊坞窗集装箱吧。
A pod has one or more docker containers in it.
这篇关于例如部署在从Java kubernetes码头工人形象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!