io.javaoperatorsdk.operator.sample.deployment.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sample-tomcat-operator Show documentation
Show all versions of sample-tomcat-operator Show documentation
Provisions Tomcat Pods and deploys Webapplications in them
apiVersion: apps/v1
kind: Deployment
metadata:
name: ""
labels:
app.kubernetes.io/part-of: ""
app.kubernetes.io/managed-by: "" # used for filtering of Deployments created by the controller
spec:
selector:
matchLabels:
app: ""
replicas: 1
template:
metadata:
labels:
app: ""
spec:
containers:
- name: tomcat
image: tomcat:8.0
ports:
- containerPort: 8080
volumeMounts:
- mountPath: /usr/local/tomcat/webapps
name: webapps-volume
- name: war-downloader
image: busybox:1.34.1
command: ['tail', '-f', '/dev/null']
volumeMounts:
- name: webapps-volume
mountPath: /data
volumes:
- name: webapps-volume
emptyDir: {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy