kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch14/lab/monitoring/prometheus-service.yaml

13 lines
209 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: kiamol-ch14-lab-monitoring
spec:
selector:
app: prometheus
type: LoadBalancer
ports:
- port: 9090
targetPort: 9090