2019-11-14 18:28:04 +00:00
|
|
|
---
|
|
|
|
kind: Endpoints
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: whoami5
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
subsets:
|
|
|
|
- addresses:
|
|
|
|
- ip: 10.10.0.3
|
|
|
|
- ip: 10.10.0.4
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: whoami5
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 8080
|
|
|
|
selector:
|
2020-09-16 13:46:04 +00:00
|
|
|
app: traefiklabs
|
2019-11-14 18:28:04 +00:00
|
|
|
task: whoami5
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: TraefikService
|
|
|
|
metadata:
|
|
|
|
name: wrr1
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
weighted:
|
|
|
|
services:
|
|
|
|
- name: whoami5
|
|
|
|
kind: Service
|
|
|
|
weight: 1
|
|
|
|
port: 8080
|