-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(PET-574): create one ref only kube-prometheus clone
We need to install kube prometheus using flux cd. The way it does it is via git clone --mirror which fetches all objects/deltas from this MASSIVE bintami monorepo where they keep all possible helm charts. This times out in flux cd (takes well over 15 minutes). To avoid that we just copied the state of one folder (kube-prometheus) at our targeted version (8.9.0) of this helm chart as per this commit: bitnami/charts@e2bb914 The copying was done manually.
- Loading branch information
Tomasz-Kluczkowski
committed
Feb 1, 2024
0 parents
commit bd6be54
Showing
75 changed files
with
36,745 additions
and
0 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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
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 @@ | ||
dependencies: | ||
- name: node-exporter | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 3.3.4 | ||
- name: kube-state-metrics | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 3.4.0 | ||
- name: common | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 2.2.4 | ||
digest: sha256:047847036d3ecd7a1495f1c664ce16874667e9e10a6d1561243543dfc812b7de | ||
generated: "2023-04-20T15:40:35.887583+01:00" |
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,38 @@ | ||
annotations: | ||
category: Analytics | ||
licenses: Apache-2.0 | ||
apiVersion: v2 | ||
appVersion: 0.64.0 | ||
dependencies: | ||
- condition: exporters.enabled,exporters.node-exporter.enabled | ||
name: node-exporter | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 3.x.x | ||
- condition: exporters.enabled,exporters.kube-state-metrics.enabled | ||
name: kube-state-metrics | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 3.x.x | ||
- name: common | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
tags: | ||
- bitnami-common | ||
version: 2.x.x | ||
description: Prometheus Operator provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances. | ||
home: https://github.com/bitnami/charts/tree/main/bitnami/kube-prometheus | ||
icon: https://bitnami.com/assets/stacks/prometheus-operator/img/prometheus-operator-stack-220x234.png | ||
keywords: | ||
- prometheus | ||
- alertmanager | ||
- operator | ||
- monitoring | ||
kubeVersion: '>= 1.16.0-0' | ||
maintainers: | ||
- name: Bitnami | ||
url: https://github.com/bitnami/charts | ||
name: kube-prometheus | ||
sources: | ||
- https://github.com/bitnami/containers/tree/main/bitnami/prometheus-operator | ||
- https://github.com/bitnami/containers/tree/main/bitnami/prometheus | ||
- https://github.com/bitnami/containers/tree/main/bitnami/alertmanager | ||
- https://github.com/prometheus-operator/kube-prometheus | ||
version: 8.9.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4,480 changes: 4,480 additions & 0 deletions
4,480
bitnami/kube-prometheus/crds/crd-alertmanager-config.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
7,111 changes: 7,111 additions & 0 deletions
7,111
bitnami/kube-prometheus/crds/crd-alertmanager.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,119 @@ | ||
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.63.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.1 | ||
creationTimestamp: null | ||
name: prometheusrules.monitoring.coreos.com | ||
spec: | ||
group: monitoring.coreos.com | ||
names: | ||
categories: | ||
- prometheus-operator | ||
kind: PrometheusRule | ||
listKind: PrometheusRuleList | ||
plural: prometheusrules | ||
shortNames: | ||
- promrule | ||
singular: prometheusrule | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: PrometheusRule defines recording and alerting rules for a Prometheus | ||
instance | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: Specification of desired alerting rule definitions for Prometheus. | ||
properties: | ||
groups: | ||
description: Content of Prometheus rule file | ||
items: | ||
description: RuleGroup is a list of sequentially evaluated recording | ||
and alerting rules. | ||
properties: | ||
interval: | ||
description: Interval determines how often rules in the group | ||
are evaluated. | ||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ | ||
type: string | ||
name: | ||
description: Name of the rule group. | ||
minLength: 1 | ||
type: string | ||
partial_response_strategy: | ||
description: 'PartialResponseStrategy is only used by ThanosRuler | ||
and will be ignored by Prometheus instances. More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response' | ||
pattern: ^(?i)(abort|warn)?$ | ||
type: string | ||
rules: | ||
description: List of alerting and recording rules. | ||
items: | ||
description: 'Rule describes an alerting or recording rule | ||
See Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) | ||
or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) | ||
rule' | ||
properties: | ||
alert: | ||
description: Name of the alert. Must be a valid label | ||
value. Only one of `record` and `alert` must be set. | ||
type: string | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: Annotations to add to each alert. Only valid | ||
for alerting rules. | ||
type: object | ||
expr: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
description: PromQL expression to evaluate. | ||
x-kubernetes-int-or-string: true | ||
for: | ||
description: Alerts are considered firing once they have | ||
been returned for this long. | ||
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ | ||
type: string | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: Labels to add or overwrite. | ||
type: object | ||
record: | ||
description: Name of the time series to output to. Must | ||
be a valid metric name. Only one of `record` and `alert` | ||
must be set. | ||
type: string | ||
required: | ||
- expr | ||
type: object | ||
type: array | ||
required: | ||
- name | ||
- rules | ||
type: object | ||
type: array | ||
x-kubernetes-list-map-keys: | ||
- name | ||
x-kubernetes-list-type: map | ||
type: object | ||
required: | ||
- spec | ||
type: object | ||
served: true | ||
storage: true |
Oops, something went wrong.