Merge pull request #709 from linhlam-kc/kubecost-eks-support

Update Kubecost chart with specific configs for Amazon EKS cluster
pull/712/head
atrendafilov 2023-04-07 10:29:03 +03:00 committed by GitHub
commit ccb4ddcd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 11 deletions

View File

@ -1,10 +1,6 @@
# Kubecost helm chart # Kubecost helm chart
Helm chart for the Kubecost project, which is created to monitor and manage Kubernetes resource spend. Please contact team@kubecost.com or visit [kubecost.com](http://kubecost.com) for more info. Helm chart for the Kubecost project, which is created to monitor and manage Kubernetes resource spend. Please contact team@kubecost.com or visit [kubecost.com](http://kubecost.com) for more info.
While Helm is the [recommended install path](http://kubecost.com/install), these resources can also be deployed with the following command:<a name="manifest"></a>
`kubectl apply -f https://raw.githubusercontent.com/kubecost/cost-analyzer-helm-chart/master/kubecost.yaml --namespace kubecost`
<a name="config-options"></a><br/> <a name="config-options"></a><br/>
The following table lists the commonly used configurable parameters of the Kubecost Helm chart and their default values. The following table lists the commonly used configurable parameters of the Kubecost Helm chart and their default values.

View File

@ -19,6 +19,31 @@ questions:
label: CostAnalyzer Persistent Volume Size label: CostAnalyzer Persistent Volume Size
type: string type: string
default: "0.2Gi" default: "0.2Gi"
# Amazon EKS
- variable: AmazonEKS.enabled
label: Amazon EKS cluster
description: "If true, Kubecost will be installed with images from https://gallery.ecr.aws/kubecost/"
type: boolean
default: false
show_subquestion_if: true
group: General Settings
subquestions:
- variable: kubecostFrontend.image
label: Kubecost frontend image for Amazon EKS
type: string
default: "public.ecr.aws/kubecost/frontend"
- variable: kubecostModel.image
label: Kubecost cost model image for Amazon EKS
type: string
default: "public.ecr.aws/kubecost/cost-model"
- variable: prometheus.server.image.repository
label: Kubecost Prometheus image for Amazon EKS
type: string
default: "public.ecr.aws/kubecost/prometheus"
- variable: prometheus.server.image.tag
label: Kubecost Prometheus image tag for Amazon EKS
type: string
default: "v2.35.0"
# Prometheus Server # Prometheus Server
- variable: global.prometheus.enabled - variable: global.prometheus.enabled
@ -71,26 +96,26 @@ questions:
label: Enable NodeExporter label: Enable NodeExporter
description: "If false, do not create NodeExporter daemonset" description: "If false, do not create NodeExporter daemonset"
type: boolean type: boolean
default: true default: false
group: "NodeExporter" group: "NodeExporter"
- variable: prometheus.serviceAccounts.nodeExporter.create - variable: prometheus.serviceAccounts.nodeExporter.create
label: Enable Service Accounts NodeExporter label: Enable Service Accounts NodeExporter
description: "If false, do not create NodeExporter daemonset" description: "If false, do not create NodeExporter daemonset"
type: boolean type: boolean
default: true default: false
group: "NodeExporter" group: "NodeExporter"
# Prometheus AlertManager # Prometheus AlertManager
- variable: prometheus.alertmanager.enabled - variable: prometheus.alertmanager.enabled
label: Enable AlertManager label: Enable AlertManager
type: boolean type: boolean
default: true default: false
group: "AlertManager" group: "AlertManager"
- variable: prometheus.alertmanager.persistentVolume.enabled - variable: prometheus.alertmanager.persistentVolume.enabled
label: Create Persistent Volume for AlertManager label: Create Persistent Volume for AlertManager
description: "If true, alertmanager will create a persistent volume claim" description: "If true, alertmanager will create a persistent volume claim"
type: boolean type: boolean
required: true required: false
default: false default: false
group: "AlertManager" group: "AlertManager"
show_if: "prometheus.alertmanager.enabled=true" show_if: "prometheus.alertmanager.enabled=true"
@ -116,12 +141,12 @@ questions:
- variable: prometheus.pushgateway.enabled - variable: prometheus.pushgateway.enabled
label: Enable PushGateway label: Enable PushGateway
type: boolean type: boolean
default: true default: false
group: "PushGateway" group: "PushGateway"
- variable: prometheus.pushgateway.persistentVolume.enabled - variable: prometheus.pushgateway.persistentVolume.enabled
label: Create Persistent Volume for PushGateway label: Create Persistent Volume for PushGateway
description: "If true, PushGateway will create a persistent volume claim" description: "If true, PushGateway will create a persistent volume claim"
required: true required: false
type: boolean type: boolean
default: false default: false
group: "PushGateway" group: "PushGateway"
@ -147,7 +172,7 @@ questions:
- variable: ingress.enabled - variable: ingress.enabled
label: Enable Ingress label: Enable Ingress
description: "Expose app using Ingress (Layer 7 Load Balancer)" description: "Expose app using Ingress (Layer 7 Load Balancer)"
default: true default: false
type: boolean type: boolean
show_subquestion_if: true show_subquestion_if: true
group: "Services and Load Balancing" group: "Services and Load Balancing"