From a7ce31b9bd0357cb560f4cb6cfdec90c76154d03 Mon Sep 17 00:00:00 2001 From: "Sun S. D. Tan" Date: Thu, 24 Nov 2022 14:46:28 +0000 Subject: [PATCH] wip: proposal main page with snippets Signed-off-by: Sun S. D. Tan --- src/pages/index.md | 85 +++++++++++++++++++++++++++++++++- src/styles/templates/main.scss | 14 ++++++ 2 files changed, 98 insertions(+), 1 deletion(-) diff --git a/src/pages/index.md b/src/pages/index.md index 2fd0631..4cb5c64 100644 --- a/src/pages/index.md +++ b/src/pages/index.md @@ -32,6 +32,89 @@ Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to im +## Configure, build and deploy +Configure your + +
+
+ +### Kubernetes + Maven +```xml + + + + org.eclipse.jkube + kubernetes-maven-plugin + 1.9.1 + + + +``` +``` +$ mvn package k8s:build + k8s:push + k8s:resource + k8s:apply +``` +
+
+ +### Openshift + Maven +```xml + + + + org.eclipse.jkube + openshift-maven-plugin + 1.9.1 + + + +``` +``` +$ mvn package oc:build + oc:resource + oc:apply +``` + +
+
+ +
+
+ +### Kubernetes + Gradle + +```build.gradle +plugins { + id 'org.eclipse.jkube.kubernetes' version '1.9.1' +} +``` +``` +$ gradle build k8sBuild + k8sPush + k8sResource + k8sApply +``` +
+
+ +### Openshift + Gradle +``` +plugins { + id 'org.eclipse.jkube.openshift' version '1.9.1' +} +``` +``` +$ gradle build ocBuild + ocResource + ocApply +``` +
+
+ +
+ ## Features ### Kubernetes Maven Plugin @@ -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.
- +
## Downloads diff --git a/src/styles/templates/main.scss b/src/styles/templates/main.scss index 608d482..28d9f25 100644 --- a/src/styles/templates/main.scss +++ b/src/styles/templates/main.scss @@ -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;