tilt-values.yaml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. # DO NOT USE FOR DEPLOYMENT. This file is intended to be used with a Tiltfile
  2. # and for development purposes only. Please refer to
  3. # https://github.com/opencost/opencost-helm-chart
  4. service:
  5. enabled: true
  6. # -- Kubernetes Service type
  7. type: ClusterIP
  8. # -- Additional ports for the service
  9. extraPorts: []
  10. opencost:
  11. exporter:
  12. # -- The GCP Pricing API requires a key. This is supplied just for evaluation.
  13. cloudProviderApiKey: ""
  14. # -- Default cluster ID to use if cluster_id is not set in Prometheus metrics.
  15. defaultClusterId: "tilt-cluster"
  16. # -- Extra container ports for MCP server
  17. extraPorts:
  18. - name: mcp-server
  19. containerPort: 8081
  20. protocol: TCP
  21. livenessProbe:
  22. # -- Whether probe is enabled
  23. enabled: true
  24. # -- Number of seconds before probe is initiated
  25. initialDelaySeconds: 120
  26. # -- Probe frequency in seconds
  27. periodSeconds: 10
  28. # -- Number of failures for probe to be considered failed
  29. failureThreshold: 3
  30. # Readiness probe configuration
  31. readinessProbe:
  32. # -- Whether probe is enabled
  33. enabled: true
  34. # -- Number of seconds before probe is initiated
  35. initialDelaySeconds: 120
  36. # -- Probe frequency in seconds
  37. periodSeconds: 10
  38. # -- Number of failures for probe to be considered failed
  39. failureThreshold: 3
  40. # extraVolumeMounts:
  41. # - mountPath: /var/secrets
  42. # name: service-key-secret
  43. # Persistent volume claim for storing the data. eg: csv file
  44. persistence:
  45. enabled: false
  46. aws:
  47. # -- AWS secret access key
  48. secret_access_key: ""
  49. # -- AWS secret key id
  50. access_key_id: ""
  51. customPricing:
  52. # -- Enables custom pricing configuration
  53. enabled: false
  54. # -- Customize the configmap name used for custom pricing
  55. configmapName: custom-pricing-model
  56. # -- Path for the pricing configuration.
  57. configPath: /tmp/custom-config
  58. # -- Configures the pricing model provided in the values file.
  59. createConfigmap: true
  60. # -- Sets the provider type for the custom pricing file.
  61. provider: custom
  62. # -- More information about these values here: https://www.opencost.io/docs/configuration/on-prem#custom-pricing-using-the-opencost-helm-chart
  63. costModel:
  64. description: Modified pricing configuration.
  65. CPU: 1.25
  66. spotCPU: 0.006655
  67. RAM: 0.50
  68. spotRAM: 0.000892
  69. GPU: 0.95
  70. storage: 0.25
  71. zoneNetworkEgress: 0.01
  72. regionNetworkEgress: 0.01
  73. internetNetworkEgress: 0.12
  74. dataRetention:
  75. dailyResolutionDays: 15
  76. cloudCost:
  77. # -- Enable cloud cost ingestion and querying, dependant on valid integration credentials
  78. enabled: false
  79. # -- Number of hours between each run of the Cloud Cost pipeline
  80. refreshRateHours: 6
  81. # -- Number of days into the past that a Cloud Cost standard run will query for
  82. runWindowDays: 3
  83. # -- The number of standard runs before a Month-to-Date run occurs
  84. monthToDateInterval: 6
  85. # -- The max number of days that any single query will be made to construct Cloud Costs
  86. queryWindowDays: 7
  87. metrics:
  88. serviceMonitor:
  89. # -- Create ServiceMonitor resource for scraping metrics using PrometheusOperator
  90. enabled: false
  91. # -- Additional labels to add to the ServiceMonitor
  92. additionalLabels: {}
  93. # -- Specify if the ServiceMonitor will be deployed into a different namespace (blank deploys into same namespace as chart)
  94. namespace: ""
  95. # -- Interval at which metrics should be scraped
  96. scrapeInterval: 30s
  97. # -- Timeout after which the scrape is ended
  98. scrapeTimeout: 10s
  99. # -- HonorLabels chooses the metric's labels on collisions with target labels
  100. honorLabels: true
  101. # -- RelabelConfigs to apply to samples before scraping. Prometheus Operator automatically adds relabelings for a few standard Kubernetes fields
  102. relabelings: []
  103. # -- MetricRelabelConfigs to apply to samples before ingestion
  104. metricRelabelings: []
  105. # -- HTTP scheme used for scraping. Defaults to `http`
  106. scheme: http
  107. prometheus:
  108. internal:
  109. enabled: true
  110. # -- Service name of in-cluster Prometheus
  111. serviceName: prometheus-server
  112. # -- Service port of in-cluster Prometheus
  113. port: 80
  114. ui:
  115. # -- Enable OpenCost UI
  116. enabled: true
  117. # extraVolumes:
  118. # - name: service-key-secret
  119. # secret:
  120. # secretName: service-key