agones.dev/agones@v1.53.0/build/grafana.yaml (about)

     1  ---
     2  # Copyright 2020 Google LLC All Rights Reserved.
     3  #
     4  # Licensed under the Apache License, Version 2.0 (the "License");
     5  # you may not use this file except in compliance with the License.
     6  # You may obtain a copy of the License at
     7  #
     8  #     http://www.apache.org/licenses/LICENSE-2.0
     9  #
    10  # Unless required by applicable law or agreed to in writing, software
    11  # distributed under the License is distributed on an "AS IS" BASIS,
    12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  # See the License for the specific language governing permissions and
    14  # limitations under the License.
    15  service:
    16    port: 3000
    17  tolerations:
    18    - key: agones.dev/agones-metrics
    19      operator: Equal
    20      value: 'true'
    21      effect: NoExecute
    22  affinity:
    23    nodeAffinity:
    24      preferredDuringSchedulingIgnoredDuringExecution:
    25        - weight: 1
    26          preference:
    27            matchExpressions:
    28              - key: agones.dev/agones-metrics
    29                operator: Exists
    30  sidecar:
    31    dashboards:
    32      enabled: true
    33  plugins: grafana-piechart-panel
    34  datasources:
    35    datasources.yaml:
    36      apiVersion: 1
    37      datasources:
    38        - name: Prometheus
    39          type: prometheus
    40          url: http://prom-prometheus-server.metrics.svc.cluster.local:80/
    41          access: proxy
    42          isDefault: true