mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-04-16 05:21:01 +02:00
* docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * remove dependencies Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * docs(aws): tutorial with kind and localstack Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com> * docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * docs(aws): tutorial with kind and localstack Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> --------- Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
48 lines
914 B
YAML
48 lines
914 B
YAML
# ref: docs/snippets/tutorials/aws-localstack/foo-app.yml
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: foo-app
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/hostname: foo-app.example.com
|
|
dns.why/type: aws-localstack-tutorial
|
|
spec:
|
|
type: ClusterIP
|
|
clusterIP: None
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
protocol: TCP
|
|
selector:
|
|
app: foo
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: foo-app
|
|
annotations:
|
|
dns.why/type: aws-localstack-tutorial
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: foo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: foo
|
|
spec:
|
|
containers:
|
|
- name: foo
|
|
image: nginx:latest
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
memory: "5Mi"
|
|
cpu: "25m"
|
|
limits:
|
|
memory: "5Mi"
|
|
cpu: "25m"
|