client and server must export both TCP and UDP DNS ports
This commit is contained in:
parent
64670ed470
commit
9ef4efc5c4
4 changed files with 19 additions and 6 deletions
|
@ -119,7 +119,11 @@ spec:
|
||||||
- containerPort: 8300
|
- containerPort: 8300
|
||||||
name: server
|
name: server
|
||||||
- containerPort: 8600
|
- containerPort: 8600
|
||||||
name: dns
|
name: dns-tcp
|
||||||
|
protocol: "TCP"
|
||||||
|
- containerPort: 8600
|
||||||
|
name: dns-udp
|
||||||
|
protocol: "UDP"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
# NOTE(mitchellh): when our HTTP status endpoints support the
|
# NOTE(mitchellh): when our HTTP status endpoints support the
|
||||||
# proper status codes, we should switch to that. This is temporary.
|
# proper status codes, we should switch to that. This is temporary.
|
||||||
|
|
|
@ -14,11 +14,11 @@ spec:
|
||||||
- name: dns-tcp
|
- name: dns-tcp
|
||||||
port: 53
|
port: 53
|
||||||
protocol: "TCP"
|
protocol: "TCP"
|
||||||
targetPort: dns
|
targetPort: dns-tcp
|
||||||
- name: dns-udp
|
- name: dns-udp
|
||||||
port: 53
|
port: 53
|
||||||
protocol: "UDP"
|
protocol: "UDP"
|
||||||
targetPort: dns
|
targetPort: dns-udp
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "consul.name" . }}
|
app: {{ template "consul.name" . }}
|
||||||
release: "{{ .Release.Name }}"
|
release: "{{ .Release.Name }}"
|
||||||
|
|
|
@ -46,9 +46,14 @@ spec:
|
||||||
- name: server
|
- name: server
|
||||||
port: 8300
|
port: 8300
|
||||||
targetPort: 8300
|
targetPort: 8300
|
||||||
- name: dns
|
- name: dns-tcp
|
||||||
|
protocol: "TCP"
|
||||||
port: 8600
|
port: 8600
|
||||||
targetPort: 8600
|
targetPort: dns-tcp
|
||||||
|
- name: dns-udp
|
||||||
|
protocol: "UDP"
|
||||||
|
port: 8600
|
||||||
|
targetPort: dns-udp
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "consul.name" . }}
|
app: {{ template "consul.name" . }}
|
||||||
release: "{{ .Release.Name }}"
|
release: "{{ .Release.Name }}"
|
||||||
|
|
|
@ -131,7 +131,11 @@ spec:
|
||||||
- containerPort: 8300
|
- containerPort: 8300
|
||||||
name: server
|
name: server
|
||||||
- containerPort: 8600
|
- containerPort: 8600
|
||||||
name: dns
|
name: dns-tcp
|
||||||
|
protocol: "TCP"
|
||||||
|
- containerPort: 8600
|
||||||
|
name: dns-udp
|
||||||
|
protocol: "UDP"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
# NOTE(mitchellh): when our HTTP status endpoints support the
|
# NOTE(mitchellh): when our HTTP status endpoints support the
|
||||||
# proper status codes, we should switch to that. This is temporary.
|
# proper status codes, we should switch to that. This is temporary.
|
||||||
|
|
Loading…
Reference in a new issue