Created
March 22, 2017 12:02
-
-
Save davsclaus/4e5a5138906c17f5576b8a7358ae30e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| davsclaus:/Users/davsclaus/$ kubectl get service -w | |
| NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
| helloswarm-kubernetes 10.0.0.245 <pending> 8080:30629/TCP 17h | |
| kubernetes 10.0.0.1 <none> 443/TCP 1d | |
| spring-kubernetes 10.0.0.85 <none> 8080/TCP 17h | |
| NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
| helloswarm-kubernetes 10.0.0.245 <nodes> 8080:31211/TCP 17h |
Author
Author
My pom.xml is now
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${fabric8.maven.plugin.version}</version>
<configuration>
<enricher>
<excludes>
<exclude>f8-expose</exclude>
</excludes>
<config>
<fmp-service>
<type>NodePort</type>
</fmp-service>
</config>
</enricher>
</configuration>
<executions>
<execution>
<id>fmp</id>
<goals>
<goal>resource</goal>
<goal>helm</goal>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And when using f8-expose excluded
davsclaus:/Users/davsclaus/$ kubectl get service -w
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
helloswarm-kubernetes 10.0.0.245 8080:30629/TCP 17h
kubernetes 10.0.0.1 443/TCP 1d
spring-kubernetes 10.0.0.85 8080/TCP 17h
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
helloswarm-kubernetes 10.0.0.245 8080:31211/TCP 17h
helloswarm-kubernetes 10.0.0.245 8080:31514/TCP 17h