You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
680 B
37 lines
680 B
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: nginx-service-label
|
|
name: nginx-service
|
|
namespace: default
|
|
resourceVersion: '569157'
|
|
spec:
|
|
clusterIP: 10.97.26.42
|
|
clusterIPs:
|
|
- 10.97.26.42
|
|
externalTrafficPolicy: Cluster
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: http
|
|
nodePort: 30004
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 80
|
|
- name: https
|
|
nodePort: 30443
|
|
port: 443
|
|
protocol: TCP
|
|
targetPort: 443
|
|
selector:
|
|
app: nginx-selector
|
|
sessionAffinity: None
|
|
type: NodePort
|
|
status:
|
|
loadBalancer: {}
|
|
|