kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch14/grafana/grafana-service.yml

13 lines
215 B
YAML

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