Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
36 lines (23 loc) · 828 Bytes

README.md

File metadata and controls

executable file
·
36 lines (23 loc) · 828 Bytes

Thorntail Health Check Example

Purpose

This example demonstrates how Kubernetes health checks work.

Prerequisites

  • Log into an OpenShift cluster of your choice: oc login ....
  • Select a project in which the services will be deployed: oc project ....

Deployment

Run the following commands to configure and deploy the applications.

Deployment using S2I

oc apply -f ./.openshiftio/application.yaml
oc new-app --template=thorntail-health-check

Deployment with the JKube OpenShift Maven Plugin

mvn clean oc:deploy -Popenshift

Test everything

This is completely self-contained and doesn't require the application to be deployed in advance. Note that this may delete anything and everything in the OpenShift project.

mvn clean verify -Popenshift,openshift-it