Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# SAS Viya Monitoring for Kubernetes
## **Unreleased**
* **Metrics**
* [UPGRADE] Kube-Prometheus Stack Helm chart has been upgraded from 75.15.0 to 78.4.0
* [UPGRADE] Grafana Helm Chart (for OpenShift deployments) has been upgraded fom 9.3.0 to 9.4.5.
* [UPGRADE] Prometheus Pushgateway Helm chart has been upgraded from 3.4.0 to 3.4.1.
* [UPGRADE] The config-reloader has been upgraded from 0.83.0 to 0.86.1.
* [UPGRADE] Grafana has been upgraded from 12.1.0 to 12.2.0.
* [UPGRADE] The k8s-sidecar has been upgraded from 1.30.3 to 1.30.9.
* [UPGRADE] Kube-State-Metrics has been upgraded from 2.16.0 to 2.17.0.
* [UPGRADE] Prometheus has been upgraded from 3.5.0 to 3.7.1.
* [UPGRADE] Prometheus Operator has been upgraded from 0.83.0 to 0.86.1.
* [UPGRADE] OpenSearch Data Source Plugin to Grafana upgraded from 2.29.1 to 2.31.1
* **Logging**
* [FIX] Log messages from Alertmanger pod redirected to OpenSearch viya_ops-* (rather than viya_logs-*) index

## Version 1.2.43 (10OCT2025)
* **Metrics**
* [FEATURE] A new sample demonstrates how to extend SAS Viya Monitoring
Expand Down
22 changes: 11 additions & 11 deletions component_versions.env
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,30 @@ OSD_FULL_IMAGE="docker.io/opensearchproject/opensearch-dashboards:2.19.3"
#Grafana (when deployed on OpenShift)
OPENSHIFT_GRAFANA_CHART_REPO=grafana
OPENSHIFT_GRAFANA_CHART_NAME=grafana
OPENSHIFT_GRAFANA_CHART_VERSION=9.3.0
OPENSHIFT_GRAFANA_CHART_VERSION=9.4.5
OPENSHIFT_OAUTHPROXY_FULL_IMAGE="registry.redhat.io/openshift4/ose-oauth-proxy:latest"

#Grafana (everywhere)
GRAFANA_FULL_IMAGE="docker.io/grafana/grafana:12.1.0"
GRAFANA_SIDECAR_FULL_IMAGE="quay.io/kiwigrid/k8s-sidecar:1.30.3"
GRAFANA_DATASOURCE_PLUGIN_VERSION="2.29.1"
GRAFANA_FULL_IMAGE="docker.io/grafana/grafana:12.2.0"
GRAFANA_SIDECAR_FULL_IMAGE="quay.io/kiwigrid/k8s-sidecar:1.30.9"
GRAFANA_DATASOURCE_PLUGIN_VERSION="2.31.1"

#Kube-Prometheus Stack
KUBE_PROM_STACK_CHART_REPO=prometheus-community
KUBE_PROM_STACK_CHART_NAME=kube-prometheus-stack
KUBE_PROM_STACK_CHART_VERSION=75.15.0
KUBE_PROM_STACK_CHART_VERSION=78.4.0
ALERTMANAGER_FULL_IMAGE="quay.io/prometheus/alertmanager:v0.28.1"
ADMWEBHOOK_FULL_IMAGE="registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.0"
KSM_FULL_IMAGE="registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.16.0"
ADMWEBHOOK_FULL_IMAGE="registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.3"
KSM_FULL_IMAGE="registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.17.0"
NODEXPORT_FULL_IMAGE="quay.io/prometheus/node-exporter:v1.9.1"
PROMETHEUS_FULL_IMAGE="quay.io/prometheus/prometheus:v3.5.0"
PROMOP_FULL_IMAGE="quay.io/prometheus-operator/prometheus-operator:v0.83.0"
CONFIGRELOAD_FULL_IMAGE="quay.io/prometheus-operator/prometheus-config-reloader:v0.83.0"
PROMETHEUS_FULL_IMAGE="quay.io/prometheus/prometheus:v3.7.1"
PROMOP_FULL_IMAGE="quay.io/prometheus-operator/prometheus-operator:v0.86.1"
CONFIGRELOAD_FULL_IMAGE="quay.io/prometheus-operator/prometheus-config-reloader:v0.86.1"

#Pushgateway
PUSHGATEWAY_CHART_REPO=prometheus-community
PUSHGATEWAY_CHART_NAME=prometheus-pushgateway
PUSHGATEWAY_CHART_VERSION=3.4.0
PUSHGATEWAY_CHART_VERSION=3.4.1
PUSHGATEWAY_FULL_IMAGE="quay.io/prometheus/pushgateway:v1.11.1"

#Prometheus Operator CRD
Expand Down
6 changes: 3 additions & 3 deletions logging/fb/fluent-bit_config.configmap_azmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data:
[FILTER]
Name modify
Match *
Set fb_configMap_version 0.2.28
Set fb_configMap_version 0.2.29.1dev
#Set clusterID NOT_SET
# initialized to N to force level standardization
Set __temp_level_fixed N
Expand Down Expand Up @@ -975,7 +975,7 @@ data:
Name tail
Alias tail4logs
Path /var/log/containers/*.log
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log, /var/log/containers/alertmanager-v4m-*.log
Parser ${KUBERNETES_RUNTIME_LOGFMT}
Tag kube.*
Multiline.parser ${LOG_MULTILINE_PARSER}
Expand All @@ -991,7 +991,7 @@ data:
# NOTE: ** METALOGGING **
Name tail
Alias tail4ops
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log, /var/log/containers/alertmanager-v4m-*.log
Parser ${KUBERNETES_RUNTIME_LOGFMT}
Tag opsK.*
Refresh_Interval 5
Expand Down
6 changes: 3 additions & 3 deletions logging/fb/fluent-bit_config.configmap_opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data:
[FILTER]
Name modify
Match *
Set fb_configMap_version 0.2.28
Set fb_configMap_version 0.2.29.1dev
#Set clusterID NOT_SET
# initialized to N to force level standardization
Set __temp_level_fixed N
Expand Down Expand Up @@ -977,7 +977,7 @@ data:
Name tail
Alias tail4logs
Path /var/log/containers/*.log
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
Exclude_Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log, /var/log/containers/alertmanager-v4m-*.log
Parser ${KUBERNETES_RUNTIME_LOGFMT}
Tag kube.*
Multiline.parser ${LOG_MULTILINE_PARSER}
Expand All @@ -993,7 +993,7 @@ data:
# NOTE: ** METALOGGING **
Name tail
Alias tail4ops
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log
Path /var/log/containers/v4m-*.log, /var/log/containers/prometheus-v4m-*.log, /var/log/containers/alertmanager-v4m-*.log
Parser ${KUBERNETES_RUNTIME_LOGFMT}
Tag opsK.*
Refresh_Interval 5
Expand Down
4 changes: 2 additions & 2 deletions samples/speedystore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ In this example, the SingleStore Master node (pod) IP address will be used for t
By default, the `sdb-admin start-monitoring-kube` command displays some information and asks the user if they would like to continue. To skip this prompt and have the configuration continue automatically, this example includes the `--yes` parameter.

#### Accessing the Kubernetess Cluster
The `sb-admin` command needs to access the Kubernetes cluster on which SAS Viya and SingleStore are running. It does this through a Kubernetes configuration file. By default, the command uses the file identified in the `KUBECONFIG` environment variable (if defined), or the `~/.kube/config` file (if it exists) to discover the cluster. Alternatively, the `--config-file` option can be used to specify the kube config file to use.
The `sdb-admin` command needs to access the Kubernetes cluster on which SAS Viya and SingleStore are running. It does this through a Kubernetes configuration file. By default, the command uses the file identified in the `KUBECONFIG` environment variable (if defined), or the `~/.kube/config` file (if it exists) to discover the cluster. Alternatively, the `--config-file` option can be used to specify the kube config file to use.

#### Run the `sb-admin start-monitoring-kube` command
#### Run the `sdb-admin start-monitoring-kube` command
After setting all of the required parameters, submit the following command to configure and start the monitoring, including the metrics database:

`sdb-admin start-monitoring-kube --cluster-name sas-singlestore-cluster --namespace $VIYA_NS --user root --password $ROOT_PWD --exporter-host $CLUSTER_MASTER_IP --yes`
Expand Down