apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: tobru-ch
name: isso
namespace: tobru-ch
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
component: isso
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
containers:
- image: angristan/isso:0.11.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- name: data
mountPath: /isso
subPath: isso
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
persistentVolumeClaim:
claimName: data
---
apiVersion: v1
kind: Service
- port: 8080
targetPort: 8080
sessionAffinity: None
type: ClusterIP