Created
October 1, 2016 08:28
-
-
Save davsclaus/8c5867aadc65804dbb958d6584fd27a4 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/Documents/workspace/fabric8-hello/helloswarm (master)/$ mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Wildfly Swarm Example 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ helloswarm --- | |
[INFO] Deleting /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ helloswarm --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] | |
[INFO] --- fabric8-maven-plugin:3.1.59:resource (fmp) @ helloswarm --- | |
[INFO] F8> Running in Kubernetes mode | |
[INFO] F8> Running generator wildfly-swarm | |
[INFO] F8> Using resource templates from /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/src/main/fabric8 | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ helloswarm --- | |
[INFO] Changes detected - recompiling the module! | |
[INFO] Compiling 2 source files to /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ helloswarm --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ helloswarm --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ helloswarm --- | |
[INFO] No tests to run. | |
[INFO] | |
[INFO] --- maven-war-plugin:2.2:war (default-war) @ helloswarm --- | |
[INFO] Packaging webapp | |
[INFO] Assembling webapp [helloswarm] in [/Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm] | |
[INFO] Processing war project | |
[INFO] Webapp assembled in [304 msecs] | |
[INFO] Building war: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm.war | |
[INFO] | |
[INFO] --- wildfly-swarm-plugin:2016.9:package (default) @ helloswarm --- | |
[INFO] Repackaging .war: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm.war | |
[INFO] | |
[INFO] --- fabric8-maven-plugin:3.1.59:helm (fmp) @ helloswarm --- | |
[INFO] F8> Creating Helm Chart "helloswarm" for Kubernetes | |
[INFO] Building tar: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm-1.0-SNAPSHOT-helm.tar.gz | |
[INFO] | |
[INFO] >>> fabric8-maven-plugin:3.1.59:build (fmp) > initialize @ helloswarm >>> | |
[INFO] | |
[INFO] <<< fabric8-maven-plugin:3.1.59:build (fmp) < initialize @ helloswarm <<< | |
[INFO] | |
[INFO] --- fabric8-maven-plugin:3.1.59:build (fmp) @ helloswarm --- | |
[INFO] F8> Running in Kubernetes mode | |
[INFO] F8> Running generator wildfly-swarm | |
[WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / | |
[INFO] Copying files to /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/docker/foo/helloswarm/snapshot-161001-102532-0408/build/maven | |
[INFO] Building tar: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/docker/foo/helloswarm/snapshot-161001-102532-0408/tmp/docker-build.tar | |
[INFO] F8> docker-build.tar: Created [foo/helloswarm:snapshot-161001-102532-0408] "wildfly-swarm" in 1 second | |
[INFO] F8> [foo/helloswarm:snapshot-161001-102532-0408] "wildfly-swarm": Built image sha256:b9f16 | |
[INFO] F8> [foo/helloswarm:snapshot-161001-102532-0408] "wildfly-swarm": Tag with latest | |
[INFO] | |
[INFO] --- maven-install-plugin:2.4:install (default-install) @ helloswarm --- | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm.war to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT.war | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/pom.xml to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT.pom | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes/META-INF/fabric8/openshift.yml to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-openshift.yml | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes/META-INF/fabric8/openshift.json to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-openshift.json | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes/META-INF/fabric8/kubernetes.yml to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-kubernetes.yml | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes/META-INF/fabric8/kubernetes.json to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-kubernetes.json | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm-swarm.jar to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-swarm.jar | |
[INFO] Installing /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm-1.0-SNAPSHOT-helm.tar.gz to /Users/davsclaus/.m2/repository/com/foo/helloswarm/1.0-SNAPSHOT/helloswarm-1.0-SNAPSHOT-helm.tar.gz | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 56.509 s | |
[INFO] Finished at: 2016-10-01T10:26:24+02:00 | |
[INFO] Final Memory: 56M/500M | |
[INFO] ------------------------------------------------------------------------ | |
davsclaus:/Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm (master)/$ docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
foo/helloswarm latest b9f16c6ba744 7 seconds ago 200.9 MB | |
foo/helloswarm snapshot-161001-102532-0408 b9f16c6ba744 7 seconds ago 200.9 MB | |
fabric8/fabric8-console 2.2.182 fee2c30d9582 40 hours ago 266.6 MB | |
fabric8/java-alpine-openjdk8-jdk 1.2.0 8efdb58f6527 8 days ago 97.44 MB | |
gcr.io/google_containers/kubernetes-dashboard-amd64 v1.4.0 436faaeba2e2 10 days ago 86.27 MB | |
fabric8/exposecontroller 2.2.262 aac305e69c49 10 days ago 23.73 MB | |
fabric8/jenkinshift 2.2.182 49166dbf532a 4 months ago 223.3 MB | |
gcr.io/google-containers/kube-addon-manager-amd64 v2 a876fb07f9c2 4 months ago 231.1 MB | |
gcr.io/google_containers/pause-amd64 3.0 99e59f495ffa 5 months ago 746.9 kB | |
davsclaus:/Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm (master)/$ mvn fabric8:deploy | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Wildfly Swarm Example 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] >>> fabric8-maven-plugin:3.1.59:deploy (default-cli) > package @ helloswarm >>> | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ helloswarm --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 1 resource | |
[INFO] | |
[INFO] --- fabric8-maven-plugin:3.1.59:resource (fmp) @ helloswarm --- | |
[INFO] F8> Running in Kubernetes mode | |
[INFO] F8> Running generator wildfly-swarm | |
[INFO] F8> Using resource templates from /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/src/main/fabric8 | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ helloswarm --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ helloswarm --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ helloswarm --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ helloswarm --- | |
[INFO] No tests to run. | |
[INFO] | |
[INFO] --- maven-war-plugin:2.2:war (default-war) @ helloswarm --- | |
[INFO] Packaging webapp | |
[INFO] Assembling webapp [helloswarm] in [/Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm] | |
[INFO] Processing war project | |
[INFO] Webapp assembled in [369 msecs] | |
[INFO] Building war: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm.war | |
[INFO] | |
[INFO] --- wildfly-swarm-plugin:2016.9:package (default) @ helloswarm --- | |
[INFO] Repackaging .war: /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/helloswarm.war | |
[INFO] | |
[INFO] <<< fabric8-maven-plugin:3.1.59:deploy (default-cli) < package @ helloswarm <<< | |
[INFO] | |
[INFO] --- fabric8-maven-plugin:3.1.59:deploy (default-cli) @ helloswarm --- | |
[INFO] F8> Using Kubernetes at https://192.168.64.14:8443/ in namespace default with manifest /Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm/target/classes/META-INF/fabric8/kubernetes.yml | |
[INFO] Using namespace: default | |
[INFO] Creating a Service from kubernetes.yml namespace default name hello | |
[INFO] Created Service: target/fabric8/applyJson/default/service-hello.json | |
[INFO] Creating a Deployment from kubernetes.yml namespace default name helloswarm | |
[INFO] Created Deployment: target/fabric8/applyJson/default/deployment-helloswarm.json | |
[INFO] hint> Use the command `kubectl get pods -w` to watch your pods start up | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 19.158 s | |
[INFO] Finished at: 2016-10-01T10:27:01+02:00 | |
[INFO] Final Memory: 48M/543M | |
[INFO] ------------------------------------------------------------------------ | |
davsclaus:/Users/davsclaus/Documents/workspace/fabric8-hello/helloswarm (master)/$ kubectl get pods -w | |
NAME READY STATUS RESTARTS AGE | |
exposecontroller-1270184593-vg7w4 1/1 Running 0 38m | |
fabric8-5rsx0 2/2 Running 0 38m | |
helloswarm-4152117543-jdn5v 0/1 ImagePullBackOff 0 33s | |
NAME READY STATUS RESTARTS AGE | |
helloswarm-4152117543-jdn5v 0/1 ErrImagePull 0 34s | |
helloswarm-4152117543-jdn5v 0/1 ImagePullBackOff 0 47s | |
helloswarm-4152117543-jdn5v 0/1 ErrImagePull 0 1m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment