Skip to content

Commit

Permalink
Added chart versions:
Browse files Browse the repository at this point in the history
  kubecost/cost-analyzer:
    - 2.4.0
  redpanda/redpanda:
    - 5.9.4
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent ba8a340 commit bbf6138
Show file tree
Hide file tree
Showing 329 changed files with 135,127 additions and 3 deletions.
Binary file modified assets/kubecost/cost-analyzer-2.3.5.tgz
Binary file not shown.
Binary file added assets/kubecost/cost-analyzer-2.4.0.tgz
Binary file not shown.
Binary file added assets/redpanda/redpanda-5.9.4.tgz
Binary file not shown.
1 change: 0 additions & 1 deletion charts/kubecost/cost-analyzer/2.3.5/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ annotations:
url: https://www.kubecost.com
catalog.cattle.io/certified: partner
catalog.cattle.io/display-name: Kubecost
catalog.cattle.io/featured: "1"
catalog.cattle.io/release-name: cost-analyzer
apiVersion: v2
appVersion: 2.3.5
Expand Down
14 changes: 14 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
annotations:
artifacthub.io/links: |
- name: Homepage
url: https://www.kubecost.com
catalog.cattle.io/certified: partner
catalog.cattle.io/display-name: Kubecost
catalog.cattle.io/featured: "1"
catalog.cattle.io/release-name: cost-analyzer
apiVersion: v2
appVersion: 2.4.0
description: Kubecost Helm chart - monitor your cloud costs!
icon: file://assets/icons/cost-analyzer.png
name: cost-analyzer
version: 2.4.0
116 changes: 116 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/README.md

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/app-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Kubecost

[Kubecost](https://kubecost.com/) is an open-source Kubernetes cost monitoring solution.

Kubecost gives teams visibility into current and historical Kubernetes spend and resource allocation. These models provide cost transparency in Kubernetes environments that support multiple applications, teams, departments, etc.

To see more on the functionality of the full Kubecost product, please visit the [features page](https://kubecost.com/#features) on our website.

Here is a summary of features enabled by this cost model:

- Real-time cost allocation by Kubernetes service, deployment, namespace, label, statefulset, daemonset, pod, and container
- Dynamic asset pricing enabled by integrations with AWS, Azure, and GCP billing APIs
- Supports on-prem k8s clusters with custom pricing sheets
- Allocation for in-cluster resources like CPU, GPU, memory, and persistent volumes.
- Allocation for AWS & GCP out-of-cluster resources like RDS instances and S3 buckets with key (optional)
- Easily export pricing data to Prometheus with /metrics endpoint ([learn more](https://github.com/kubecost/cost-model/blob/develop/PROMETHEUS.md))
- Free and open source distribution (Apache2 license)

## Requirements

- Kubernetes 1.8+
- kube-state-metrics
- Grafana
- Prometheus
- Node Exporter
17 changes: 17 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/ci/aggregator-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
kubecostAggregator:
enabled: true
cloudCost:
enabled: true
aggregatorDbStorage:
storageRequest: 10Gi
kubecostModel:
federatedStorageConfigSecret: federated-store
kubecostProductConfigs:
cloudIntegrationSecret: cloud-integration
clusterName: CLUSTER_NAME
prometheus:
server:
global:
external_labels:
# cluster_id should be unique for all clusters and the same value as .kubecostProductConfigs.clusterName
cluster_id: CLUSTER_NAME
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
kubecostProductConfigs:
clusterName: CLUSTER_NAME
# cloudIntegrationSecret: cloud-integration
federatedETL:
useExistingS3Config: false
federatedCluster: true
kubecostModel:
containerStatsEnabled: true
federatedStorageConfigSecret: federated-store
serviceAccount: # this example uses AWS IRSA, which creates a service account with rights to the s3 bucket. If using keys+secrets in the federated-store, set create: true
create: true
global:
prometheus:
enabled: true
# fqdn: http://prometheus-operated.monitoring:9090
grafana: # prometheus metrics will be local cluster only, disable grafana to save resources
enabled: false
proxy: false
prometheus:
nodeExporter:
enabled: false
server:
global:
external_labels:
# cluster_id should be unique for all clusters and the same value as .kubecostProductConfigs.clusterName
cluster_id: CLUSTER_NAME
networkCosts:
# optional, see: https://docs.kubecost.com/install-and-configure/advanced-configuration/network-costs-configuration
enabled: true
config:
services:
# set the appropriate cloud provider to true
amazon-web-services: true
# google-cloud-services: true
# azure-cloud-services: true
46 changes: 46 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/ci/statefulsets-cc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
### This test is to verify that Kubecost aggregator is deployed as a StatefulSet,
### cluster controller is installed, and the various Prometheus components are installed.
global:
podAnnotations:
kubecost.io/test1: value1
kubecost.io/test2: value2
additionalLabels:
kubecosttest1: value1
kubecosttest2: value2
prometheus:
enabled: true
# fqdn: http://prometheus-operated.monitoring:9090
grafana: # prometheus metrics will be local cluster only, disable grafana to save resources
enabled: false
proxy: false
kubecostProductConfigs:
clusterName: CLUSTER_NAME
kubecostAggregator:
deployMethod: statefulset
kubecostModel:
federatedStorageConfigSecret: federated-store
clusterController:
enabled: true
actionConfigs:
clusterTurndown:
- name: my-schedule2
start: "2034-02-09T00:00:00Z"
end: "2034-02-09T01:00:00Z"
repeat: none
prometheus:
nodeExporter:
enabled: true
alertmanager:
enabled: true
configmapReload:
prometheus:
enabled: true
pushgateway:
enabled: true
server:
statefulSet:
enabled: true
global:
external_labels:
# cluster_id should be unique for all clusters and the same value as .kubecostProductConfigs.clusterName
cluster_id: CLUSTER_NAME
78 changes: 78 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/crds/cluster-turndown-crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# TurndownSchedule Custom Resource Definition for persistence
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: turndownschedules.kubecost.com
spec:
group: kubecost.com
names:
kind: TurndownSchedule
singular: turndownschedule
plural: turndownschedules
shortNames:
- td
- tds
scope: Cluster
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
start:
type: string
format: date-time
end:
type: string
format: date-time
repeat:
type: string
enum: [none, daily, weekly]
status:
type: object
properties:
state:
type: string
lastUpdated:
format: date-time
type: string
current:
type: string
scaleDownId:
type: string
nextScaleDownTime:
format: date-time
type: string
scaleDownMetadata:
additionalProperties:
type: string
type: object
scaleUpID:
type: string
nextScaleUpTime:
format: date-time
type: string
scaleUpMetadata:
additionalProperties:
type: string
type: object
additionalPrinterColumns:
- name: State
type: string
description: The state of the turndownschedule
jsonPath: .status.state
- name: Next Turndown
type: string
description: The next turndown date-time
jsonPath: .status.nextScaleDownTime
- name: Next Turn Up
type: string
description: The next turn up date-time
jsonPath: .status.nextScaleUpTime
7 changes: 7 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/custom-pricing.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
EndTimestamp,InstanceID,Region,AssetClass,InstanceIDField,InstanceType,MarketPriceHourly,Version
2028-01-06 23:34:45 UTC,,us-east-2,node,metadata.name,g4dn.xlarge,5.55,
2028-01-06 23:34:45 UTC,,,node,metadata.name,R730-type1,1.35,
2028-01-06 23:34:45 UTC,,,pv,metadata.name,standard,0.44,
2028-01-06 23:34:45 UTC,a100,,gpu,gpu.nvidia.com/class,,0.75,
2028-01-06 23:34:45 UTC,RTX3090,,gpu,nvidia.com/gpu_type,,0.65,
2028-01-06 23:34:45 UTC,i-01045ab6d13179700,,,spec.providerID,,1.2,
45 changes: 45 additions & 0 deletions charts/kubecost/cost-analyzer/2.4.0/grafana-dashboards/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Kubecost Grafana Dashboards

## Overview

Kubecost, by default, is bundled with a Grafana instance that already contains the dashboards in this folder.

The dashboards in this repo are imported into Kubecost, unless disabled with


The same dashboards have template versions in [grafana-templates/](grafana-templates/) for those wanting to load the dashboards into an existing Grafana instance.

## Caveats

The primary purpose of the dashboards provided is to allow visibility into the metrics used by Kubecost to create the cost-model.

The networkCosts-metrics dashboard requires the optional networkCosts daemonset to be [enabled](https://docs.kubecost.com/install-and-configure/advanced-configuration/network-costs-configuration).

## Metrics Required

`kubecost-container-stats` metrics:

```
container_cpu_usage_seconds_total
kube_pod_container_resource_requests
container_memory_working_set_bytes
container_cpu_cfs_throttled_periods_total
container_cpu_cfs_periods_total
```

`network-transfer-data` metrics:

```
kubecost_pod_network_ingress_bytes_total
kubecost_pod_network_egress_bytes_total
```

`disk-usage` metrics:
```
container_fs_limit_bytes
container_fs_usage_bytes
```

## Additional Information

Kubecost Grafana [Configuration Guide](https://docs.kubecost.com/install-and-configure/advanced-configuration/custom-grafana)
Loading

0 comments on commit bbf6138

Please sign in to comment.