21 lines
302 B
YAML
21 lines
302 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: mt-svc
|
||
|
labels:
|
||
|
app: mt-test
|
||
|
spec:
|
||
|
ipFamilies:
|
||
|
- IPv4
|
||
|
- IPv6
|
||
|
ipFamilyPolicy: RequireDualStack
|
||
|
selector:
|
||
|
app: mt-test
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
name: http
|
||
|
port: 80
|
||
|
- protocol: TCP
|
||
|
name: https
|
||
|
port: 443
|