Tomcat
Apache Tomcat, often referred to as Tomcat, is an open-source web server and servlet container developed by the Apache Software Foundation. Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages, Java EL, and WebSocket, and provides a "pure Java" HTTP web server environment for Java code to run in.
Based on the Bitnami Tomcat image for docker, this Chart bootstraps a Tomcat deployment on a Kubernetes cluster using Helm Classic.
Persistence
For persistence of the Tomcat data, mount a storage volume at the /app path of the Tomcat pod.
By default the Tomcat Chart mounts an emptyDir volume.
Configuration
To edit the default Tomcat configuration, run
$ helmc edit tomcat
Configurable parameters can be specified in tpl/values.toml. If not specified default values as defined by the Bitnami Tomcat image are used.
Tip: If you have issues running the above command, add
se autochdirto your~/.vimrcprofile or simply edit~/.helmc/workspace/charts/tomcat/tpl/values.tomlin your favourite editor.
Finally, generate the chart to apply your changes to the configuration.
$ helmc generate --force tomcat
Cleanup
To delete the Tomcat deployment completely:
$ helmc uninstall -n default tomcat