C.5.
C.5.1.
C.5.2.
istag
<namespace>/<image-stream-name>:<tag>
docker
[<registry-location-url>/]<image-namespace>/<image-name>:<tag>
C.5.2.1.
fuse7/fuse-eap-openshift:1.5 fuse7/fuse-java-openshift:1.5 fuse7/fuse-karaf-openshift:1.5
C.5.2.2.
fuse7/fuse-eap-openshift:1.5 fuse7/fuse-java-openshift:1.5 fuse7/fuse-karaf-openshift:1.5
C.5.2.3.
示例
<configuration> <generator> <config> <spring-boot> <fromMode>{istag|docker}</fromMode> <from>{image locations}</from> </spring-boot> </config> </generator> </configuration>
C.5.2.4.
示例
<configuration> <generator> <config> <karaf> <fromMode>{istag|docker}</fromMode> <from>{image locations}</from> </karaf> </config> </generator> </configuration>
C.5.2.5.
示例
//build from Docker-formatted image directly, registry location, image name or tag are subject to change if desirable -Dfabric8.generator.fromMode=docker -Dfabric8.generator.from=<custom-registry-location-url>/<image-namespace>/<image-name>:<tag> //to use ImageStream from different namespace -Dfabric8.generator.fromMode=istag //istag is default -Dfabric8.generator.from=<namespace>/<image-stream-name>:<tag>
C.5.3. Spring Boot
元素 | 描述 | default |
---|---|---|
assemblyRef |
| |
targetDir |
|
|
jolokiaPort |
| 8778 |
mainClass |
| |
webPort |
| 8080 |
color |
|
C.5.4.
元素 | 描述 | default |
---|---|---|
baseDir |
|
|
jolokiaPort |
| 8778 |
mainClass |
| |
user |
|
|
webPort |
| 8080 |