-
Notifications
You must be signed in to change notification settings - Fork 66
/
42-entry-routing-policies-google-cloud.yaml
56 lines (56 loc) · 1.47 KB
/
42-entry-routing-policies-google-cloud.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apiVersion: dns.gardener.cloud/v1alpha1
kind: DNSEntry
metadata:
annotations:
# If you are delegating the DNS management to Gardener Shoot DNS Service, uncomment the following line
#dns.gardener.cloud/class: garden
name: google-weighted
namespace: default
spec:
dnsName: "my.service.example.com"
ttl: 60
targets:
- 1.2.3.4
routingPolicy:
type: weighted # Google Cloud DNS specific example
setIdentifier: "0"
parameters:
weight: "10"
---
apiVersion: dns.gardener.cloud/v1alpha1
kind: DNSEntry
metadata:
annotations:
# If you are delegating the DNS management to Gardener Shoot DNS Service, uncomment the following line
#dns.gardener.cloud/class: garden
name: google-geo-europe-west3
namespace: default
spec:
dnsName: "my.second-service.example.com"
ttl: 60
targets:
- 1.2.3.4
routingPolicy:
type: geolocation # Google Cloud DNS specific example
setIdentifier: "europe-west3"
parameters:
location: "europe-west3"
---
apiVersion: dns.gardener.cloud/v1alpha1
kind: DNSEntry
metadata:
annotations:
# If you are delegating the DNS management to Gardener Shoot DNS Service, uncomment the following line
#dns.gardener.cloud/class: garden
name: google-geo-us-central1
namespace: default
spec:
dnsName: "my.second-service.example.com"
ttl: 60
targets:
- 5.6.7.8
routingPolicy:
type: geolocation # Google Cloud DNS specific example
setIdentifier: "us-central1"
parameters:
location: "us-central1"