apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: monitoring
  name: grafana-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: grafana-server
  template:
    metadata:
      labels:
        app: grafana-server
    spec:
      containers:
      - name: grafana
        image: grafana/grafana:6.5.1
        ports:
        - name: grafana
          containerPort: 3000