Skip to content

Commit

Permalink
wip: proposal main page with snippets
Browse files Browse the repository at this point in the history
Signed-off-by: Sun S. D. Tan <[email protected]>
  • Loading branch information
sunix committed Nov 28, 2022
1 parent ea1ab4b commit c9c161b
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 1 deletion.
85 changes: 84 additions & 1 deletion src/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,89 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im
</div>
</div>

## Configure, build and deploy ...
... your Quarkus, Spring boot, Wildfly, Tomcat, micronaut. openliberty, vertx, thorntail, etc. to Kubernetes

<div class="quickstart">
<div class="column">

### Kubernetes + Maven
```xml
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<version>1.9.1</version>
</plugin>
</plugins>
</build>
```
```
$ mvn package k8s:build
k8s:push
k8s:resource
k8s:apply
```
</div>
<div class="column">

### Openshift + Maven
```xml
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>openshift-maven-plugin</artifactId>
<version>1.9.1</version>
</plugin>
</plugins>
</build>
```
```
$ mvn package oc:build
oc:resource
oc:apply
```

</div>
</div>

<div class="quickstart">
<div class="column">

### Kubernetes + Gradle

```build.gradle
plugins {
id 'org.eclipse.jkube.kubernetes' version '1.9.1'
}
```
```
$ gradle build k8sBuild
k8sPush
k8sResource
k8sApply
```
</div>
<div class="column">

### Openshift + Gradle
```
plugins {
id 'org.eclipse.jkube.openshift' version '1.9.1'
}
```
```
$ gradle build ocBuild
ocResource
ocApply
```
</div>
</div>

<div class="section-dark">

## Features

### Kubernetes Maven Plugin
Expand Down Expand Up @@ -78,7 +161,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
14 changes: 14 additions & 0 deletions src/styles/templates/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@
}
}
}

.quickstart {
.column {
float: left;
width: 555px;
font-size: 1rem;
}
}
.quickstart:after {
content: "";
display: table;
clear: both;
}

.section-dark {
@include full-width;
background-color: $color-dark-background;
Expand Down

0 comments on commit c9c161b

Please sign in to comment.