Skip to content

Commit 1574a88

Browse files
committed
Add better description to Tomcat sample
1 parent 06cb50d commit 1574a88

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

sample-operators/tomcat-operator/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Tomcat Operator
22

3-
Creates a Tomcat deployment from a Custom Resource, while keeping the WAR separated with another Custom Resource.
3+
Tomcat Operator sample project for the Java Operator SDK.
4+
5+
## Description
6+
This is a sample project that shows how to use the Java Operator SDK to create an operator that manages
7+
Tomcat webservers and deploy war files in them. The operator will create a Deployment and a Service for each Tomcat
8+
instance. The Tomcat version and the number of replicas can be configured in the Tomcat Custom Resource. The
9+
operator will download and deploy a war file to the target Tomcat instance for each Webapp Custom Resource that is
10+
created. The Webapp resource contains the URL to the WAR file and the context path to deploy the WAR file to.
411

512
This sample demonstrates the following capabilities of the Java Operator SDK:
613
* Multiple Controllers in a single Operator. The Tomcat resource is managed by the TomcatController while the Webapp

0 commit comments

Comments
 (0)