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

97 lines
2.7 KiB
YAML
Raw Normal View History

2022-11-18 07:40:06 +00:00
---
# Source: external-dns/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-dns
2022-12-20 08:00:59 +00:00
namespace: "default"
2022-11-18 07:40:06 +00:00
labels:
app.kubernetes.io/name: external-dns
2022-12-20 08:00:59 +00:00
helm.sh/chart: external-dns-6.12.2
2022-11-18 07:40:06 +00:00
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
2022-12-20 08:00:59 +00:00
helm.sh/chart: external-dns-6.12.2
2022-11-18 07:40:06 +00:00
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
topologyKey: kubernetes.io/hostname
weight: 1
nodeAffinity:
serviceAccountName: external-dns
containers:
- name: external-dns
2022-12-20 08:00:59 +00:00
image: "docker.io/bitnami/external-dns:0.13.1-debian-11-r19"
2022-11-18 07:40:06 +00:00
imagePullPolicy: "IfNotPresent"
args:
# Generic arguments
- --metrics-address=:7979
- --log-level=info
- --log-format=text
- --policy=sync
2022-11-18 07:40:06 +00:00
- --provider=aws
- --registry=txt
- --interval=15s
2022-11-18 07:40:06 +00:00
- --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: