-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CI files Signed-off-by: chipzoller <[email protected]> * add CI to dev doc Signed-off-by: chipzoller <[email protected]> * expand chart test Signed-off-by: chipzoller <[email protected]> * add new values for testing Signed-off-by: chipzoller <[email protected]> * make linter happy Signed-off-by: Chip Zoller <[email protected]> * use minimal aggregator value set Signed-off-by: chipzoller <[email protected]> * lint Signed-off-by: chipzoller <[email protected]> --------- Signed-off-by: chipzoller <[email protected]> Signed-off-by: Chip Zoller <[email protected]>
- Loading branch information
1 parent
57befe7
commit 2564343
Showing
9 changed files
with
186 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Files in this directory are used as dependencies for CI tests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
data: | ||
cloud-integration.json: ewogICAgImF3cyI6IFsKICAgICAgICB7CiAgICAgICAgICAgICJhdGhlbmFCdWNrZXROYW1lIjogInMzOi8vQVdTX2Nsb3VkX2ludGVncmF0aW9uX2F0aGVuYUJ1Y2tldE5hbWUiLAogICAgICAgICAgICAiYXRoZW5hUmVnaW9uIjogIkFXU19jbG91ZF9pbnRlZ3JhdGlvbl9hdGhlbmFSZWdpb24iLAogICAgICAgICAgICAiYXRoZW5hRGF0YWJhc2UiOiAiQVdTX2Nsb3VkX2ludGVncmF0aW9uX2F0aGVuYURhdGFiYXNlIiwKICAgICAgICAgICAgImF0aGVuYVRhYmxlIjogIkFXU19jbG91ZF9pbnRlZ3JhdGlvbl9hdGhlbmFCdWNrZXROYW1lIiwKICAgICAgICAgICAgInByb2plY3RJRCI6ICJBV1NfY2xvdWRfaW50ZWdyYXRpb25fYXRoZW5hX3Byb2plY3RJRCIsCiAgICAgICAgICAgICJzZXJ2aWNlS2V5TmFtZSI6ICJBV1NfY2xvdWRfaW50ZWdyYXRpb25fYXRoZW5hX3NlcnZpY2VLZXlOYW1lIiwKICAgICAgICAgICAgInNlcnZpY2VLZXlTZWNyZXQiOiAiQVdTX2Nsb3VkX2ludGVncmF0aW9uX2F0aGVuYV9zZXJ2aWNlS2V5U2VjcmV0IgogICAgICAgIH0KICAgIF0KfQ== | ||
kind: Secret | ||
metadata: | ||
name: cloud-integration | ||
namespace: kubecost | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
data: | ||
federated-store.yaml: dHlwZTogUzMKY29uZmlnOgogIGJ1Y2tldDogImt1YmVjb3N0LVVOSVFVRV9OQU1FLW1ldHJpY3MiCiAgZW5kcG9pbnQ6ICJzMy5hbWF6b25hd3MuY29tIgogIHJlZ2lvbjogInVzLWVhc3QtMiIKICAjIHVzZSBpcnNhIHdoZW4gcG9zc2libGUtIG90aGVyd2lzZSBhY2Nlc3Mga2V5cyBjYW4gYmUgdXNlZDoKICAjIGFjY2Vzc19rZXk6ICJZT1VSX0tFWSIKICAjIHNlY3JldF9rZXk6ICJZT1VSX1NFQ1JFVCIKICBpbnNlY3VyZTogZmFsc2UKICBzaWduYXR1cmVfdmVyc2lvbjI6IGZhbHNlCiAgcHV0X3VzZXJfbWV0YWRhdGE6CiAgICAgICJYLUFtei1BY2wiOiAiYnVja2V0LW93bmVyLWZ1bGwtY29udHJvbCIKICBodHRwX2NvbmZpZzoKICAgIGlkbGVfY29ubl90aW1lb3V0OiA5MHMKICAgIHJlc3BvbnNlX2hlYWRlcl90aW1lb3V0OiAybQogICAgaW5zZWN1cmVfc2tpcF92ZXJpZnk6IGZhbHNlCiAgdHJhY2U6CiAgICBlbmFibGU6IHRydWUKICBwYXJ0X3NpemU6IDEzNDIxNzcyOA== | ||
kind: Secret | ||
metadata: | ||
name: federated-store | ||
namespace: kubecost | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
data: | ||
object-store.yaml: dHlwZTogUzMKY29uZmlnOgogIGJ1Y2tldDogIkFXU19vYmplY3Rfc3RvcmVfYnVja2V0IgogIGVuZHBvaW50OiAiczMuYW1hem9uYXdzLmNvbSIKICByZWdpb246IHVzLWVhc3QtMQogIGFjY2Vzc19rZXk6ICJBV1Nfb2JqZWN0X3N0b3JlX2FjY2Vzc19rZXkiCiAgaW5zZWN1cmU6IGZhbHNlCiAgc2lnbmF0dXJlX3ZlcnNpb24yOiBmYWxzZQogIHNlY3JldF9rZXk6ICJBV1Nfb2JqZWN0X3N0b3JlX3NlY3JldF9rZXkiCiAgcHV0X3VzZXJfbWV0YWRhdGE6CiAgICAgICJYLUFtei1BY2wiOiAiYnVja2V0LW93bmVyLWZ1bGwtY29udHJvbCIKICBodHRwX2NvbmZpZzoKICAgIGlkbGVfY29ubl90aW1lb3V0OiA5MHMKICAgIHJlc3BvbnNlX2hlYWRlcl90aW1lb3V0OiAybQogICAgaW5zZWN1cmVfc2tpcF92ZXJpZnk6IGZhbHNlCiAgdHJhY2U6CiAgICBlbmFibGU6IHRydWUKICBwYXJ0X3NpemU6IDEzNDIxNzcyOA== | ||
kind: Secret | ||
metadata: | ||
name: kubecost-thanos | ||
namespace: kubecost | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
kubecostAggregator: | ||
enabled: true | ||
cloudCost: | ||
enabled: true | ||
aggregatorStorage: | ||
storageRequest: 5Gi | ||
aggregatorDbStorage: | ||
storageRequest: 10Gi | ||
kubecostModel: | ||
federatedStorageConfigSecret: federated-store | ||
kubecostProductConfigs: | ||
cloudIntegrationSecret: cloud-integration |
48 changes: 48 additions & 0 deletions
48
cost-analyzer/ci/federatedetl-primary-netcosts-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
kubecostProductConfigs: | ||
clusterName: CLUSTER_NAME | ||
# cloudIntegrationSecret: cloud-integration | ||
federatedETL: | ||
useExistingS3Config: false | ||
primaryCluster: true | ||
federatedCluster: true | ||
federator: | ||
enabled: true | ||
# primaryClusterID: CLUSTER_NAME # Add after initial setup. This will break the combined folder setup if included at deployment. | ||
kubecostModel: | ||
containerStatsEnabled: true | ||
cloudCost: | ||
enabled: true # Set to true to enable CloudCost view that gives you visibility of your Cloud provider resources cost | ||
etlCloudAsset: false # Set etlCloudAsset to false when cloudCost.enabled=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 | ||
kubecostDeployment: | ||
queryServiceReplicas: 0 # to improve performance, increase replica count. see: https://docs.kubecost.com/install-and-configure/install/etl-backup/query-service-replicas | ||
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: | ||
kubeStateMetrics: | ||
enabled: false | ||
kube-state-metrics: | ||
disabled: true | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters