2
0

tilt-values.yaml 4.1 KB

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