Skip to content

Commit

Permalink
updated monitoring and k8ssandra-cluster chart
Browse files Browse the repository at this point in the history
  • Loading branch information
akash4sh committed Aug 19, 2023
1 parent cb7df11 commit 7624b25
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/k8ssandra-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 6 additions & 4 deletions charts/k8ssandra-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
name: temporal
name: capten-cass
spec:
cassandra:
serverVersion: "4.0.1"
serverImage: k8ssandra/cass-management-api:4.0.1
serverImage: {{ .Values.image.serverImage }}
telemetry:
prometheus:
enabled: true
Expand All @@ -19,10 +19,12 @@ spec:
config:
jvmOptions:
heapSize: 512M
networking:
hostNetwork: {{ .Values.networking.hostNetwork }}
datacenters:
- metadata:
name: temporal
size: 1
name: capten-cass
size: {{ .Values.datacenters.size }}
mgmtAPIHeap: 256Mi
stargate:
size: 1
Expand Down
10 changes: 7 additions & 3 deletions charts/k8ssandra-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
replicaCount: 1

image:
repository: nginx
pullPolicy: IfNotPresent
serverImage: k8ssandra/cass-management-api:4.0.1
# Overrides the image tag whose default is the chart appVersion.
tag: ""

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

networking:
hostNetwork: false

datacenters:
size: 3

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down
2 changes: 1 addition & 1 deletion charts/monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ type: application
version: 0.1.7
dependencies:
- name: prometheus-msteams
condition: prometheus-msteams.enabled
condition: teams.enabled
version: 1.0.0
repository: https://kube-tarian.github.io/helmrepo-supporting-tools/
10 changes: 2 additions & 8 deletions charts/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,22 @@ slack:
webhook: "https://hooks.slack.com/services"
channel: "#capten-cluster-alert"

prometheus-msteams:
teams:
enabled: true
url: "http://prometheus-msteams:2000/alert"
container:
additionalArgs:
- -debug
- -teams-request-uri=alert

metrics:
serviceMonitor:
additionalLabels:
release: prometheus
enabled: true
scrapeInterval: 30s

connectors:
- alert: https://webhook.office.com/

teams:
enabled: true
url: "http://prometheus-msteams:2000/alert"


resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand Down

0 comments on commit 7624b25

Please sign in to comment.