arcocd-test/mydeploy.yaml

47 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
labels:
app: mt-test
name: mytool
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: mt-test
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
labels:
app: mt-test
spec:
containers:
- image: wbitt/network-multitool
imagePullPolicy: IfNotPresent
name: network-multitool
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: None
dnsConfig:
nameservers:
- 10.96.0.10
searches:
- mttool.svc.cluster.local
- svc.cluster.local
- cluster.local
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30