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
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/>
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
type: string
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
- variable: global.prometheus.enabled
@ -71,26 +96,26 @@ questions:
label: Enable NodeExporter
description: "If false, do not create NodeExporter daemonset"
type: boolean
default: true
default: false
group: "NodeExporter"
- variable: prometheus.serviceAccounts.nodeExporter.create
label: Enable Service Accounts NodeExporter
description: "If false, do not create NodeExporter daemonset"
type: boolean
default: true
default: false
group: "NodeExporter"
# Prometheus AlertManager
- variable: prometheus.alertmanager.enabled
label: Enable AlertManager
type: boolean
default: true
default: false
group: "AlertManager"
- variable: prometheus.alertmanager.persistentVolume.enabled
label: Create Persistent Volume for AlertManager
description: "If true, alertmanager will create a persistent volume claim"
type: boolean
required: true
required: false
default: false
group: "AlertManager"
show_if: "prometheus.alertmanager.enabled=true"
@ -116,12 +141,12 @@ questions:
- variable: prometheus.pushgateway.enabled
label: Enable PushGateway
type: boolean
default: true
default: false
group: "PushGateway"
- variable: prometheus.pushgateway.persistentVolume.enabled
label: Create Persistent Volume for PushGateway
description: "If true, PushGateway will create a persistent volume claim"
required: true
required: false
type: boolean
default: false
group: "PushGateway"
@ -147,7 +172,7 @@ questions:
- variable: ingress.enabled
label: Enable Ingress
description: "Expose app using Ingress (Layer 7 Load Balancer)"
default: true
default: false
type: boolean
show_subquestion_if: true
group: "Services and Load Balancing"