13 lines
205 B
YAML
13 lines
205 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: prometheus
|
||
|
namespace: kiamol-ch14-monitoring
|
||
|
spec:
|
||
|
selector:
|
||
|
app: prometheus
|
||
|
type: LoadBalancer
|
||
|
ports:
|
||
|
- port: 9090
|
||
|
targetPort: 9090
|