mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-04 02:39:42 +00:00
Use hyphen instead of underscore for port name
This commit is contained in:
parent
b01691077a
commit
4c76452571
1 changed files with 6 additions and 6 deletions
|
|
@ -18,10 +18,10 @@ spec:
|
||||||
name: nip-io
|
name: nip-io
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 53
|
- containerPort: 53
|
||||||
name: dns_tcp
|
name: dns-tcp
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 53
|
- containerPort: 53
|
||||||
name: dns_udp
|
name: dns-udp
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
@ -33,13 +33,13 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: nip-io
|
app: nip-io
|
||||||
ports:
|
ports:
|
||||||
- name: dns_tcp
|
- name: dns-tcp
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 53
|
port: 53
|
||||||
nodePort: 31053
|
nodePort: 31053
|
||||||
targetPort: dns_tcp
|
targetPort: dns-tcp
|
||||||
- name: dns_udp
|
- name: dns-udp
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
port: 53
|
port: 53
|
||||||
nodePort: 31053
|
nodePort: 31053
|
||||||
targetPort: dns_udp
|
targetPort: dns-udp
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue