Skip to content

Commit 09a95bb

Browse files
authored
refactor(argus): remove ksm dep and add to lmc (#93)
1 parent 08efd27 commit 09a95bb

File tree

3 files changed

+1
-117
lines changed

3 files changed

+1
-117
lines changed

charts/argus/Chart.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
apiVersion: v2
2-
dependencies:
3-
- condition: kube-state-metrics.enabled
4-
name: kube-state-metrics
5-
repository: https://prometheus-community.github.io/helm-charts
6-
version: 4.7.0
72
description: Automated Kubernetes monitoring
83
icon: https://logicmonitor.github.io/helm-charts-qa/lm_logo.png
94
kubeVersion: '>= 1.16.0-0'
105
maintainers:
116
127
name: LogicMonitor
138
name: argus
14-
version: 2.2.0-rc08
9+
version: 2.2.0-rc09
1510
home: https://logicmonitor.github.io/helm-charts-qa
1611
appVersion: v8.2.0-rc2

charts/argus/values.schema.json

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,6 @@
126126
}
127127
}
128128
},
129-
"kube-state-metrics": {
130-
"enabled": true,
131-
"replicas": 1,
132-
"collectors": [
133-
"daemonsets",
134-
"replicasets",
135-
"statefulsets",
136-
"persistentvolumes"
137-
]
138-
},
139129
"global": {
140130
"accessID": "",
141131
"accessKey": "",
@@ -1939,82 +1929,6 @@
19391929
},
19401930
"additionalProperties": false
19411931
},
1942-
"kube-state-metrics": {
1943-
"$id": "#/properties/kube-state-metrics",
1944-
"type": "object",
1945-
"title": "The kube-state-metrics schema",
1946-
"description": "Describes kube-state-metrics helm chart configurations",
1947-
"default": {},
1948-
"examples": [
1949-
{
1950-
"enabled": true,
1951-
"replicas": 1,
1952-
"collectors": [
1953-
"daemonsets",
1954-
"replicasets",
1955-
"statefulsets",
1956-
"persistentvolumes"
1957-
]
1958-
}
1959-
],
1960-
"required": [
1961-
],
1962-
"properties": {
1963-
"enabled": {
1964-
"$id": "#/properties/kube-state-metrics/properties/enabled",
1965-
"type": "boolean",
1966-
"title": "The enabled schema",
1967-
"description": "Describes the flag to enable kube-state-metrics helm chart installation",
1968-
"default": false,
1969-
"examples": [
1970-
true
1971-
]
1972-
},
1973-
"replicas": {
1974-
"$id": "#/properties/kube-state-metrics/properties/replicas",
1975-
"type": "integer",
1976-
"title": "The replicas schema",
1977-
"description": "Describes the number of kube-state-metrics pod replicas",
1978-
"default": 1,
1979-
"minimum": 0,
1980-
"examples": [
1981-
1
1982-
]
1983-
},
1984-
"collectors": {
1985-
"$id": "#/properties/kube-state-metrics/properties/collectors",
1986-
"type": "array",
1987-
"title": "The collectors schema",
1988-
"description": "Describes the list of collector to enable metrics collection by kube-state-metrics",
1989-
"default": [],
1990-
"examples": [
1991-
[
1992-
"daemonsets",
1993-
"replicasets"
1994-
]
1995-
],
1996-
"additionalItems": true,
1997-
"uniqueItems": true,
1998-
"items": {
1999-
"$id": "#/properties/kube-state-metrics/properties/collectors/items",
2000-
"anyOf": [
2001-
{
2002-
"$id": "#/properties/kube-state-metrics/properties/collectors/items/anyOf/0",
2003-
"type": "string",
2004-
"title": "Kube-state-metrics collector name schema",
2005-
"description": "Describes the kube-state-metrics collector name",
2006-
"default": "",
2007-
"examples": [
2008-
"daemonsets",
2009-
"replicasets"
2010-
]
2011-
}
2012-
]
2013-
}
2014-
},
2015-
"additionalProperties": true
2016-
}
2017-
},
20181932
"global": {
20191933
"$id": "#/properties/global",
20201934
"type": "object",

charts/argus/values.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -172,31 +172,6 @@ collector:
172172
failureThreshold: 30
173173
periodSeconds: 10
174174

175-
# Kube state metrics configuration
176-
# For further customizing KSM configuration, pls refer https://artifacthub.io/packages/helm/prometheus-community/kube-state-metrics/?modal=values
177-
kube-state-metrics:
178-
# Set enabled to false in case you want to use a custom configured KSM
179-
enabled: true
180-
# No. of KSM Replicas to be configured
181-
selfMonitor:
182-
enabled: true
183-
telemetryPort: 8081
184-
replicas: 1
185-
collectors:
186-
- daemonsets
187-
- replicasets
188-
- statefulsets
189-
- persistentvolumes
190-
- persistentvolumeclaims
191-
- endpoints
192-
- cronjobs
193-
- jobs
194-
- pods
195-
- nodes
196-
- deployments
197-
- services
198-
- poddisruptionbudgets
199-
200175
imagePullSecrets: []
201176

202177
global:

0 commit comments

Comments
 (0)