You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
744 B
35 lines
744 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: pmml-deployment
|
|
labels:
|
|
app: pmml
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: pmml
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: pmml
|
|
spec:
|
|
containers:
|
|
- name: pmml
|
|
image: torarg/pmml:0.1.3
|
|
volumeMounts:
|
|
- mountPath: "/.pmmlrc"
|
|
subPath: ".pmmlrc"
|
|
name: "pmml-pmmlrc"
|
|
readOnly: true
|
|
- mountPath: "/.fetchmailrc"
|
|
subPath: ".fetchmailrc"
|
|
name: "pmml-fetchmailrc"
|
|
readOnly: true
|
|
volumes:
|
|
- name: pmml-pmmlrc
|
|
secret:
|
|
secretName: pmml-pmmlrc
|
|
- name: pmml-fetchmailrc
|
|
secret:
|
|
secretName: pmml-fetchmailrc
|
|
|