c12s-kubespray/roles/kubernetes-apps/heapster/templates/grafana-service.yaml
Vincent Schwarzer fad083eae2 Added role for Heapster Deploymnet (with InfluxDB and Grafana)
Added a new role which deploys Heapster, InfluxDB and Grafana
when a new Kargo Kubernetes Cluster is created.
2017-04-12 13:26:01 +02:00

21 lines
695 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
# For use as a Cluster add-on (https://github.com/kubernetes/kubernetes/tree/master/cluster/addons)
# If you are NOT using this as an addon, you should comment out this line.
kubernetes.io/cluster-service: 'true'
kubernetes.io/name: monitoring-grafana
name: monitoring-grafana
namespace: kube-system
spec:
# In a production setup, we recommend accessing Grafana through an external Loadbalancer
# or through a public IP.
# type: LoadBalancer
# You could also use NodePort to expose the service at a randomly-generated port
# type: NodePort
ports:
- port: 80
targetPort: 3000
selector:
k8s-app: grafana