Access & Observability
Cluster access via kubeconfig and using Grafana, VictoriaMetrics, and VictoriaLogs for metrics and application logs on the ayedo SDP.
Access & Observability
This page explains operational access to your cluster via kubeconfig and how to use the observability stack of the ayedo Software Delivery Platform (SDP) with Grafana, VictoriaMetrics, and VictoriaLogs.
kubeconfig — Lifecycle and Security
The kubeconfig is your access key to the Kubernetes API. On OIDC-configured clusters, it contains no static passwords; instead, it references kubelogin and your Identity Provider (Keycloak or Authentik).
| Phase | Process |
|---|---|
| Provisioning | You receive a cluster kubeconfig for your access path (typically using OIDC/kubelogin). |
| Validity | Session lifetime follows your Identity Provider's policies. Upon expiration, kubelogin automatically renews the token via browser login. |
| Rotation | On role changes, device loss, or suspected compromise, access is updated in the IdP or certificates are reissued. |
| Revocation | Disabling the account or removing it from the IdP group revokes access centrally. |
Usage Recommendations
- Never store
kubeconfigfiles in Git repositories and never share them over insecure channels. - Use an individual identity per person and dedicated ServiceAccounts or short-lived tokens for CI/CD.
- Keep any configured IP whitelists for Kubernetes API access in mind (see Network Access).
Supported Clients
| Client | Usage |
|---|---|
kubectl |
Standard CLI for cluster interaction and debugging |
| Helm | Deploying and inspecting charts |
| Desktop IDEs (e.g., k9s, Lens) | Supported as long as they use the provided OIDC kubeconfig |
| CI/CD Pipelines | Via dedicated ServiceAccounts or Argo CD rather than personal kubeconfig files |
For technical details on OIDC, kubelogin, and RBAC, see Access Control.
Accessing Grafana
Grafana is the central interface for dashboards, ad-hoc queries, and customer alerting.
- Open the Grafana URL of your SDP instance (for example,
https://grafana.example.com). - Sign in via SSO (OIDC) using Keycloak or Authentik.
- After login, you land in the organization context of your team or environment.
Data sources for VictoriaMetrics (metrics) and VictoriaLogs (logs) are preconfigured and immediately available in dashboards as well as in Explore.
Querying Metrics with VictoriaMetrics
All cluster, pod, and application metrics are stored in VictoriaMetrics. In Grafana, you can access them through preconfigured dashboards (cluster, namespace, and pod utilization) as well as through Explore using MetricsQL (fully PromQL-compatible).
Common Workload Queries
# CPU usage per pod in your namespace (5-minute average)
sum by (pod) (rate(container_cpu_usage_seconds_total{namespace="acme-production", container!=""}[5m]))
# Memory usage (Working Set) per pod
sum by (pod) (container_memory_working_set_bytes{namespace="acme-production", container!=""})
# Container restarts over the last 15 minutes
sum by (pod) (increase(kube_pod_container_status_restarts_total{namespace="acme-production"}[15m])) > 0
Custom application metrics are typically exposed via a Prometheus-format /metrics endpoint and scraped using a ServiceMonitor or VMServiceScrape (see Platform Best Practices).
Querying Application Logs with VictoriaLogs
Automatic Collection via stdout and stderr
On the SDP, you do not need to run your own log agent in your pods for standard container logs. All output your containers write to stdout and stderr is automatically collected by the platform collector (Vector) and forwarded to VictoriaLogs.
For optimal searchability, we recommend:
- Structured JSON logging with consistent fields such as
level,msg,service, andrequest_id - No local log files inside the container filesystem — write directly to
stdout/stderr - No sensitive data (passwords, tokens, personal data) in log output
For more details on ingestion paths, see Ingesting Logs (VictoriaLogs).
Querying in Grafana Explore (LogsQL)
In Grafana under Explore, select the VictoriaLogs data source and filter with LogsQL:
# Search all logs in a namespace for errors
kubernetes.pod_namespace:"acme-production" AND ("error" OR "ERROR")
# Logs of a specific pod or container
kubernetes.pod_namespace:"acme-production" AND kubernetes.pod_name:~"my-app-.*"
# Count errors per pod over the last 15 minutes
kubernetes.pod_namespace:"acme-production" AND level:"error" | stats by (kubernetes.pod_name) count() as errors
Custom Dashboards and Customer Monitoring Stacks
Within your Grafana organization, you can create as many custom dashboards and folders for your applications as needed and configure notifications (see User Alerts).
If you also want to operate your own observability components in your namespace (such as an OpenTelemetry Collector or your own Grafana instance), keep the following guidelines in mind:
| Topic | Guideline |
|---|---|
| Scraping Scope | Restrict custom collectors to your own namespaces and workloads. |
| Outbound Traffic | External SaaS backends may require allowed egress paths (see Network Access). |
| Avoid Duplicate Load | Coordinate additional cluster-wide scrape stacks with platform operations beforehand. |
Shared Responsibility
| Platform Operations (Managed Scope) | Development Team / Customer |
|---|---|
| Operating VictoriaMetrics, VictoriaLogs, and Grafana | Safeguarding kubeconfig files and enabling MFA in the IdP |
| Providing default dashboards and log collection | Emitting structured app logs (stdout/stderr) and app metrics (/metrics) |
| Platform monitoring and infrastructure incidents | Custom dashboards, application alerts, and application runbooks |
Binding details on retention periods and managed service scope are defined in the Service Annex to the Terms and Conditions.