25 lines
489 B
YAML
25 lines
489 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: traefik
|
|
labels:
|
|
app.kubernetes.io/instance: traefik
|
|
app.kubernetes.io/name: traefik
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/instance: traefik
|
|
app.kubernetes.io/name: traefik
|
|
type: LoadBalancer
|
|
loadBalancerIP: 10.0.69.250
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
- port: 80
|
|
name: web
|
|
targetPort: web
|
|
protocol: TCP
|
|
- port: 443
|
|
name: websecure
|
|
targetPort: websecure
|
|
protocol: TCP
|