File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
sample-operators/tomcat-operator Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Tomcat Operator
2
2
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.
4
11
5
12
This sample demonstrates the following capabilities of the Java Operator SDK:
6
13
* Multiple Controllers in a single Operator. The Tomcat resource is managed by the TomcatController while the Webapp
You can’t perform that action at this time.
0 commit comments