netflux-kubernetes/deploy/base/inflated/external-dns/templates/deployment.yaml

99 lines
2.7 KiB
YAML

---
# Source: external-dns/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-dns
namespace: default
labels:
app.kubernetes.io/name: external-dns
helm.sh/chart: external-dns-6.3.0
app.kubernetes.io/instance: external-dns
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: external-dns
app.kubernetes.io/instance: external-dns
template:
metadata:
labels:
app.kubernetes.io/name: external-dns
helm.sh/chart: external-dns-6.3.0
app.kubernetes.io/instance: external-dns
app.kubernetes.io/managed-by: Helm
annotations:
spec:
securityContext:
fsGroup: 1001
runAsUser: 1001
affinity:
podAffinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: external-dns
app.kubernetes.io/instance: external-dns
namespaces:
- "default"
topologyKey: kubernetes.io/hostname
weight: 1
nodeAffinity:
serviceAccountName: external-dns
containers:
- name: external-dns
image: "docker.io/bitnami/external-dns:0.11.1-debian-10-r1"
imagePullPolicy: "IfNotPresent"
args:
# Generic arguments
- --metrics-address=:7979
- --log-level=info
- --log-format=text
- --policy=sync
- --provider=aws
- --registry=txt
- --interval=15s
- --source=service
- --source=ingress
# AWS arguments
- --aws-api-retries=3
- --aws-zone-type=
- --aws-batch-change-size=1000
env:
# AWS environment variables
- name: AWS_DEFAULT_REGION
value: us-east-1
envFrom:
ports:
- name: http
containerPort: 7979
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 2
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 6
resources:
limits: {}
requests: {}
volumeMounts:
volumes: