Add primary (write) Services to authoritative + externaldns #229
@@ -18,10 +18,17 @@ spec:
|
|||||||
- "allow-query { auth-acl-main; 10.42.0.0/16; }"
|
- "allow-query { auth-acl-main; 10.42.0.0/16; }"
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
annotations:
|
annotations:
|
||||||
purelb.io/service-group: common
|
purelb.io/service-group: common
|
||||||
purelb.io/addresses: 198.18.200.6
|
purelb.io/addresses: 198.18.200.6
|
||||||
external-dns.alpha.kubernetes.io/hostname: bind-authoritative.k8s.syd1.au.unkin.net
|
external-dns.alpha.kubernetes.io/hostname: bind-authoritative.k8s.syd1.au.unkin.net
|
||||||
|
primaryService:
|
||||||
|
type: LoadBalancer
|
||||||
|
annotations:
|
||||||
|
purelb.io/service-group: common
|
||||||
|
purelb.io/addresses: 198.18.200.9
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: bind-authoritative-primary.k8s.syd1.au.unkin.net
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|||||||
@@ -14,10 +14,13 @@ spec:
|
|||||||
storageSize: 1Gi
|
storageSize: 1Gi
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
annotations:
|
annotations:
|
||||||
purelb.io/service-group: common
|
purelb.io/service-group: common
|
||||||
purelb.io/addresses: 198.18.200.8
|
purelb.io/addresses: 198.18.200.8
|
||||||
external-dns.alpha.kubernetes.io/hostname: bind-externaldns.k8s.syd1.au.unkin.net
|
external-dns.alpha.kubernetes.io/hostname: bind-externaldns.k8s.syd1.au.unkin.net
|
||||||
|
primaryService:
|
||||||
|
type: ClusterIP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ spec:
|
|||||||
storageSize: 1Gi
|
storageSize: 1Gi
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
annotations:
|
annotations:
|
||||||
purelb.io/service-group: common
|
purelb.io/service-group: common
|
||||||
purelb.io/addresses: 198.18.200.7
|
purelb.io/addresses: 198.18.200.7
|
||||||
|
|||||||
@@ -692,6 +692,35 @@
|
|||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
"primaryService": {
|
||||||
|
"properties": {
|
||||||
|
"annotations": {
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"externalTrafficPolicy": {
|
||||||
|
"enum": [
|
||||||
|
"Cluster",
|
||||||
|
"Local"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"loadBalancerIP": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"enum": [
|
||||||
|
"ClusterIP",
|
||||||
|
"LoadBalancer",
|
||||||
|
"NodePort"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
"recursion": {
|
"recursion": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
@@ -765,6 +794,13 @@
|
|||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
"externalTrafficPolicy": {
|
||||||
|
"enum": [
|
||||||
|
"Cluster",
|
||||||
|
"Local"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"loadBalancerIP": {
|
"loadBalancerIP": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user