2
0

tilt-values.yaml 4.1 KB

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