mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-04 00:19:45 +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
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns_tcp
|
||||
name: dns-tcp
|
||||
protocol: TCP
|
||||
- containerPort: 53
|
||||
name: dns_udp
|
||||
name: dns-udp
|
||||
protocol: UDP
|
||||
---
|
||||
kind: Service
|
||||
|
|
@ -33,13 +33,13 @@ spec:
|
|||
selector:
|
||||
app: nip-io
|
||||
ports:
|
||||
- name: dns_tcp
|
||||
- name: dns-tcp
|
||||
protocol: TCP
|
||||
port: 53
|
||||
nodePort: 31053
|
||||
targetPort: dns_tcp
|
||||
- name: dns_udp
|
||||
targetPort: dns-tcp
|
||||
- name: dns-udp
|
||||
protocol: UDP
|
||||
port: 53
|
||||
nodePort: 31053
|
||||
targetPort: dns_udp
|
||||
targetPort: dns-udp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue