26 lines
348 B
YAML
26 lines
348 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: docs-service
|
|
namespace: extollo
|
|
spec:
|
|
selector:
|
|
app: docs
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: docs-service-lb
|
|
namespace: extollo
|
|
spec:
|
|
type: LoadBalancer
|
|
selector:
|
|
app: docs
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|