4c060a78cc
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
32 lines
451 B
YAML
32 lines
451 B
YAML
kind: Endpoints
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service1
|
|
namespace: testing
|
|
|
|
subsets:
|
|
- addresses:
|
|
- ip: 10.10.0.1
|
|
ports:
|
|
- port: 8080
|
|
- addresses:
|
|
- ip: 10.21.0.1
|
|
ports:
|
|
- port: 8080
|
|
|
|
---
|
|
kind: Endpoints
|
|
apiVersion: v1
|
|
metadata:
|
|
name: service2
|
|
namespace: testing
|
|
|
|
subsets:
|
|
- addresses:
|
|
- ip: 10.10.0.2
|
|
ports:
|
|
- port: 8080
|
|
- addresses:
|
|
- ip: 10.21.0.2
|
|
ports:
|
|
- port: 8080
|