Skip to content

Commit 0c152ae

Browse files
committed
Added output for commands and some minor updates
1 parent ab9daea commit 0c152ae

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

docs/integrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ __Link:__ [https://github.com/chouseknecht/kompose-install-role](https://github.
3535
### Fabric8 Maven Plugin by Red Hat
3636

3737
__Description:__ "Maven is one of the widely used build tool for Java applications. The Fabric8 Maven Plugin is a maven extension that simplifies the deployment of Java applications to Kubernetes or OpenShift cluster. The main task of this plugin is to build Docker images, generate Kubernetes or OpenShift resource descriptors and run/deploy the application on Kubernetes or OpenShift cluster. Plugin has wide range of configuration options and Docker Compose is one of them to bring up deployments on Kubernetes or OpenShift cluster. The Fabric8 Maven Plugin processes the external `docker-compose.yml` file and generates Kubernetes or OpenShift resources via Kompose."
38+
3839
__Links:__
3940

4041
* [Quickstart](/docs/maven-example)
41-
42-
* [Documentation](https://maven.fabric8.io/)
42+
* [Documentation](https://maven.fabric8.io/#docker-compose)

docs/maven-example.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22
Lets deploy a Springboot Java application with Docker Compose file using Fabric8 Maven Plugin to Kubernetes or OpenShift.
33
##### Requirements
44
* Linux or MacOS or Windows
5-
* JDK 1.7+
5+
* JDK 1.7+ - [JDK Quick Installation Guide](http://openjdk.java.net/install/)
66
* Maven 3.x+ - [Maven Installation Guide](https://maven.apache.org/install.html)
77
* Kompose
88

99
__1. Clone the example project from GitHub__
1010
```bash
11-
$ git clone https://github.com/piyush1594/kompose-example.git
11+
$ git clone https://github.com/piyush1594/kompose-maven-example.git
12+
```
13+
Navigate (cd) to `kompose-maven-example` directory. Use command
14+
```bash
15+
$ cd kompose-maven-example
1216
```
13-
Navigate (cd) to `kompose-example` directory.
14-
1517
__2. Install Kompose through Maven__
1618
```
1719
$ mvn fabric8:install
@@ -61,8 +63,12 @@ $ mvn fabric8:deploy
6163
Now that your service has been deployed, let's access it by querying `pod`, `service` from Kubernetes or OpenShift.
6264
```bash
6365
$ kubectl get pods
66+
NAME READY STATUS RESTARTS AGE
67+
springboot-docker-compose-1-vk80j 1/1 Running 0 5m
68+
springboot-docker-compose-s2i-1-build 0/1 Completed 0 7m
6469
```
6570
```bash
6671
$ kubectl get svc
72+
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
73+
springboot-docker-compose 172.30.205.137 <none> 8080/TCP 6m
6774
```
68-

0 commit comments

Comments
 (0)