Grafana Deployment#

Deploys an instance of Grafana. This type is deployed as part of the Inference API Deployment.

class GrafanaDeployment

Kuberenetes Objects:

  • PersistentVolumeClaim

  • Deployment

  • Service

Fields:

  • type: grafanaDeployment

  • name: string

    • required - unique name of deployment

  • template string

    • default: src/octaipipe/configs/cloud_deployment/grafana_deployment_template.yml

  • kubernetes_namespace string

    • default: default

  • datasource_configs list

    • default: []

    • See instructions on deploying Grafana to cloud for more details about this.

  • monitors str

    • Deployment id of a cloud deployment which is monitored by this deployment. This links the two deployments

  • deployment_specs dict

    • See placeholders

Placeholders (deployment_specs or env variables):

  • deployment_name string

    • default = deployment’s name

  • STORAGE_NAME string

    • default = grafana-pvc

  • STORAGE_SIZE string

    • default = 1Gi

  • DEPLOYMENT_NAME string

    • default = grafana

  • HTTP_PORT int

    • default = 3000