SUSE Rancher Prime
SUSE Observability
Last updated
SUSE Observability
Last updated
SUSE Observability, formerly known as StackState can be used for Observability of your Kubernetes clusters and their workloads.
The installation of SUSE Observability, the SUSE Observability UI extension and the SUSE Observability Agents takes about 30 minutes in total.
For support please file a support case in .
A license key for SUSE Observability server can be obtained via the SUSE Customer Center in the Subscription tab and will be shown as "SUSE Observability" Registration Code. This license is valid until the end of your Rancher Prime subscription.
To install SUSE Observability, ensure that the nodes have enough CPU and memory capacity. Below are the specific requirements.
There are different installation options available for SUSE Observability. It is possible to install SUSE Observability either in a High-Availability (HA) or single instance (non-HA) setup. The non-HA setup is recommended for testing purposes or small environments. For production environments, it is recommended to install SUSE Observability in a HA setup.
The HA production setup can support from 150 up to 4000 observed nodes. An observed node in this sizing table is taken to be 4 vCPUs and 16GB of memory, our default node size
.
If nodes in your observed cluster are bigger, they can count for multiple default nodes
, so a node of 12vCPU and 48GB counts as 3 default nodes
under observation when picking
a profile.
The Non-HA setup can support up to 100 Nodes under observation.
CPU Requests
7.5
7.5
10.5
15
25
49
62
86.5
210
CPU Limits
16
16
21.5
30.5
50
103
128
176
278
Memory Requests
25.5Gi
25.5Gi
31Gi
35Gi
54Gi
129Gi
146Gi
164.5Gi
259Gi
Memory Limits
26Gi
26Gi
31.5Gi
36Gi
54Gi
133.5Gi
150Gi
168.5Gi
320Gi
These are just the upper and lower bounds of the resources that can be consumed by SUSE Observability in the different installation options. The actual resource usage will depend on the features used, configured resource limits and dynamic usage patterns, such as Deployment or DaemonSet scaling. For our Rancher Prime customers, we recommend to start with the default requirements and monitor the resource usage of the SUSE Observability components.
SUSE Observability uses persistent volume claims for the services that need to store data. The default storage class for the cluster will be used for all services unless this is overridden by values specified on the command line or in a values.yaml
file. All services come with a pre-configured volume size that should be good to get you started, but can be customized later using variables as required.
For our different installation profiles, the following are the defaulted storage requirements:
Retention (days)
3
30
30
30
30
30
30
30
30
Storage requirement
125GB
280GB
420GB
420GB
600GB
2TB
2TB
2.5TB
5.5TB
SUSE Observability is installed through Helm, which needs to be installed with a minimum version of 3.13.1.
This is the on-prem hosted server part of the installation. It contains a set of services to store observability data:
Topology (StackGraph)
Metrics (VictoriaMetrics)
Traces (ClickHouse)
Logs (ElasticSearch)
Next to this, it contains a set of services for all the observability tasks. e.g. Notifications, State management, Monitoring, etc.
The lightweight SUSE Observability agent is installed on your downstream worker nodes. It collects and reports metrics, events, traces and logs, and it provides real-time observability and insights, enabling proactive monitoring and troubleshooting of your IT environment.
The SUSE Observability version of the Agent also uses eBPF as a lightweight way to monitor all your workloads and their communication. It also decodes the RED (Rate, Errors and Duration) signals for most of the common L7 protocols like TCP, HTTP, TLS, Redis, etc.
This is an UI extension to Rancher Manager that integrates the health signals observed by SUSE Observability. It gives direct access to the health of any resource and a link to SUSE Observability's UI for further investigation.
SUSE Observability server should be installed in its own downstream cluster intended for Observability. See the below picture for reference.
For SUSE Observability to be able to work properly it needs:
Before installing the SUSE Observability server a default storage class must be set up in the cluster where the SUSE Observability server will be installed:
For k3s: The local-path storage class of type rancher.io/local-path is created by default.
For EKS, AKS, GKE a storage class is set by default
For RKE2 Node Drivers: No storage class is created by default. You will need to create one before installing SUSE Observability.
After meeting the prerequisites you can proceed with the installation. The installation is NOT YET AVAILABLE from the app store. Instead, you can install SUSE Observability via the kubectl shell of the cluster.
You can now follow the instruction below for a HA or NON-HA setup.
Get the helm chart
Command to generate helm chart values files:
The sizing.profile
should be one of trial, 10-nonha, 20-nonha, 50-nonha, 100-nonha, 150-ha, 250-ha, 500-ha. Based on this profiles the sizing_values.yaml
file is generated containing default sizes for the SUSE Observability resources and configuration to be deployed on an Ha or NonHa mode. E.g. 10-nonha will produce a sizing_values.yaml
meant to deploy a NonHa SUSE Observability instance to observe a 10 node cluster in a Non High Available mode. Currently moving from a nonha to an ha environment is not possible, so if you expect that your environment willrequire to observe around 150 nodes then better to go with ha immediately.
This command will generate a $VALUES_DIR/suse-observability-values/templates/baseConfig_values.yaml
and a $VALUES_DIR/suse-observability-values/templates/sizing_values.yaml
file which contains the necessary configuration for installing the SUSE Observability Helm Chart.
Deploy the SUSE Observability helm chart with the generated values:
If you prefer to use a load balancer instead of ingress, expose the suse-observability-router
service. The URL for the loadbalancer needs to use a valid, not self-signed, TLS certificate.
To install UI extensions, enable the UI extensions from the rancher UI
After enabling UI extensions, follow these steps:
Navigate to extensions on the rancher UI and under the "Available" section of extensions, you will find the Observability extension.
Install the Observability extension.
Once installed, on the left panel of the rancher UI, the SUSE Observability section appears.
Navigate to the SUSE Observability section and select "configurations". In this section, you can add the SUSE Observability server details and connect it.
Follow the instructions as mentioned in Obtain a service token section below and fill in the details.
Log into the SUSE Observability instance.
From the top left corner, select CLI.
Note the API token and install SUSE Observability cli on your local machine.
Create a service token by running
0.x.x
2.8
1.x.x
2.9
2.x.x
2.10 2.11
In the SUSE Observability UI open the main menu and select StackPacks.
Select the Kubernetes StackPack.
Click on new instance and provide the cluster name of the downstream cluster which you are adding. Make sure you match the name of the Rancher cluster with the name provided here. Click install.
In the list of instructions find the section that matches your cluster best
Execute the instructions provided to install the agent, these can be run in the kubectl shell
that you can open for your cluster via the Rancher UI. But it can also be run from a local machine if it has Helm installed and is authorized to connect to the cluster.
After you install the agent, the cluster can be seen within the SUSE Observability UI as well as the SUSE Rancher - Observability UI extension.
Is it mandatory to install a SUSE Observability agent before proceeding with adding the UI extension?
No this is not mandatory, the UI extension can be installed independent.
Is it mandatory to install SUSE Observability Server before we proceed with UI extensions?
Yes this is not mandatory since you need to provide a SUSE Observability endpoint in the configuration
Can we install SUSE Observability on a local cluster or on a downstream cluster?
Both options are possible.
To monitor the downstream clusters, should we install the SUSE Observability agent from the app store or add a new instance from the SUSE Observability UI?
Both options are possible depending on users preference.
When you uninstall and reinstall the UI extensions for Observability, we noticed that service token is not deleted and is reused upon reinstallation. Whenever we uninstall the extensions, service token should be removed.
This information should be deleted when the UI extensions are uninstalled.
After the extensions are installed, the SUSE Observability UI opens in the same tab as the Rancher UI.
You can use shift-click to open in a new tab, this will become the default behaviour
Be aware upgrading or downgrading from HA to NON-HA and vice-versa is not yet supported.
For more details on the defaults used, see the page .
to be available in the observability cluster to store metrics, events, etc.
the observability cluster to support a way to expose SUSE Observability on an HTTPS URL to Rancher, SUSE Observability users and the SUSE Observability agent. This can be done via an Ingress configuration using an ingress controller, alternatively a (cloud) loadbalancer for the SUSE Observability services could do this too, for more information see the .
The baseUrl
must be the URL via which SUSE Observability will be accessible to Rancher, users, and the SUSE Observability agent. The URL must include the scheme, for example https://observability.internal.mycompany.com
. See also .
The SUSE Observability administrator password will be autogenerated by the above command and are output as comments in the generated basicConfig.yaml
file. For more info, see .
The actual values contain the bcrypt
hashes of those passwords so that they're securely stored in the Helm release in the cluster.
Using a single default password is great to get started with SUSE Observability, but for a production setup are available.
The SUSE Observability Helm chart has support for creating an Ingress resource to make SUSE Observability accessible outside of the cluster. Follow to set that up when you have an ingress controller in the cluster. Make sure that the resulting URL uses TLS with a valid, not self-signed, certificate.
To enable Single sign-on with your own authentication provider please .