Skip to content

Commit

Permalink
feat: diagram, snippets and demo in the main page
Browse files Browse the repository at this point in the history
Signed-off-by: Sun S. D. Tan <[email protected]>
  • Loading branch information
sunix authored and manusa committed Aug 7, 2023
1 parent 9202279 commit d2a3007
Show file tree
Hide file tree
Showing 3 changed files with 2,144 additions and 1 deletion.
157 changes: 156 additions & 1 deletion src/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,161 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
</div>
</div>

## Build and deploy any Java projects ... for Kubernetes
<div class=diag>

![JKube - Quarkus, Spring boot, Wildfly, Tomcat, micronaut. openliberty, vertx, thorntail, etc. to Kubernetes](index/java-jkube-kube.svg "Java jkube Kubernetes")

</div>





<div class="tabset">
<div class="ulist tabs">
<ul>
<li id="tabset1_mvn_kubernetes" class=is-active onClick="var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); this.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+this.id+']').className += ' is-active';">
<p>Maven + Kubernetes</p>
</li>
<li id="tabset1_mvn_openshift" onClick="var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); this.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+this.id+']').className += ' is-active';">
<p>Maven + Openshift</p>
</li>
<li id="tabset1_gradle_kubernetes" onClick="var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); this.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+this.id+']').className += ' is-active';">
<p>Gradle + Kubernetes</p>
</li>
<li id="tabset1_gradle_openshift" onClick="var elems = document.querySelectorAll('.is-active');[].forEach.call(elems, function(el) { el.classList.remove('is-active');}); this.className += ' is-active'; document.body.querySelector('div[aria-labelledby='+this.id+']').className += ' is-active';">
<p>Gradle + Openshift</p>
</li>
</ul>
</div>



<div class="content">

<div class="tab-pane is-active" aria-labelledby="tabset1_mvn_kubernetes">

<iframe src="https://www.youtube.com/embed/FHz5q8ERtPk" class="youtube-video " width="515" height="290" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/#getting-started)
[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin/)


1. Add to the `pom.xml`:
```xml
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<version>1.10.1</version>
</plugin>
</plugins>
</build>
```

2. Execute these command to build and deploy:
```
$ mvn package k8s:build \
k8s:push \
k8s:resource \
k8s:apply
```
</div>




<div class="tab-pane" aria-labelledby="tabset1_mvn_openshift">

<iframe src="https://www.youtube.com/embed/ZJzfD-bDxpc" class="youtube-video " width="515" height="290" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/#getting-started)
[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-maven-plugin/)

1. Add to the `pom.xml`:
```xml
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>openshift-maven-plugin</artifactId>
<version>1.10.1</version>
</plugin>
</plugins>
</build>
```

2. Execute these commands to build and deploy:
```
$ mvn package oc:build \
oc:resource \
oc:apply
```

</div>




<div class="tab-pane" aria-labelledby="tabset1_gradle_kubernetes">

<iframe src="https://www.youtube.com/embed/TUYl2Vw8bnQ" class="youtube-video " width="515" height="290" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/#getting-started)
[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/kubernetes-gradle-plugin/)

1. Add to the `build.gradle`:
```
plugins {
id 'org.eclipse.jkubekubernetes' version '1.10.1'
}
```

2. Execute these commands to build and deploy:
```
$ gradle build k8sBuild \
k8sPush \
k8sResource \
k8sApply
```

</div>



<div class="tab-pane" aria-labelledby="tabset1_gradle_openshift">

<iframe src="https://www.youtube.com/embed/uMxEzLdqcik" class="youtube-video " width="515" height="290" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

[![Getting started](https://img.shields.io/badge/%F0%9F%9A%80%20Getting%20started-brightgreen)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/#getting-started)
[![Documentation](https://img.shields.io/badge/-%F0%9F%93%96%20%20Documentation-blue)](https://www.eclipse.org/jkube/docs/openshift-gradle-plugin/)

1. Add to the `build.gradle`:
```
plugins {
id 'org.eclipse.jkube.openshift' version '1.10.1'
}
```

2. Execute these command to build and deploy:
```
$ gradle build ocBuild \
ocResource \
ocApply
```

</div>

</div>
</div>




<div class="section-dark">

## Features

### Kubernetes Maven Plugin
Expand Down Expand Up @@ -78,7 +233,7 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
* **Image Configuration** model objects for modeling Docker image configuration.

</div>

</div>
<div class="section-dark">

## Downloads
Expand Down
Loading

0 comments on commit d2a3007

Please sign in to comment.