apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" labels: app: mytool name: mytool namespace: default spec: progressDeadlineSeconds: 600 replicas: 2 revisionHistoryLimit: 10 selector: matchLabels: app: mytool strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: labels: app: mytool 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