Skip to content

Commit 5b6fcd4

Browse files
authored
Merge pull request #4 from stfc/add-addon-pages
ENH: Add pages for Monitoring and K8s Dashboard.
2 parents 86baa19 + 58f9594 commit 5b6fcd4

10 files changed

Lines changed: 68 additions & 6 deletions

File tree

102 KB
Loading
102 KB
Loading
272 KB
Loading
299 KB
Loading
325 KB
Loading
241 KB
Loading

docs/identity_provider/identity_provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Consider a Kubernetes cluster platform deployed under azimuth, `my-binderhub`. T
2727
- Users in the `kubeapp-my-binderhub` have access to both services, BinderHub and JupyterHub, but no other deployments.
2828
- Users in the `kubeapp-my-binderhub/my-binderhub-binderhub-azimuth-jupyterhub` group have access to the JupyterHub, but not BinderHub.
2929

30+
**Admins can add users to these individual groups through the Keycloak dashboard, hence granting them access to individual services.**
31+
3032
### Bulk Importing Users
3133
Bulk Importing/Generating a set of users can be achieved via a partial import to your Keycloak realm.
3234

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
hide:
3+
- footer
4+
---
5+
6+
7+
## Introduction
8+
The Kubernetes Dashboard Web UI is available for deployed Kubernetes platforms on Azimuth. This provides a user-friendly way to administer a cluster.
9+
10+
For usage information, see the [Kubernetes Docs](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#welcome-view).
11+
12+
![Example of the Kubernetes Dashboard](../../assets/images/kubernetes_dashboard_example.png)
13+
14+
### Accessing Kubernetes Dashboards
15+
Kubernetes Dashboard can be accessed via the link in the cluster details
16+
![Access the link in Details under Services](../../assets/images/accessing_kubernetes_dashboard.png){ loading=lazy }
17+
18+
Kubernetes Dashboard can be enabled/disabled on an existing cluster using the green <img loading="lazy" class="off-glb" src="../../assets/images/update-button.svg" style="height:1em; vertical-align:middle;"> `Update` button in details, under the Cluster Addons section.
19+
20+
Access can be granted through the [Identity Provider](../../identity_provider/identity_provider.md).
21+
22+
!!! Info
23+
We recommend access to administrating clusters, through the Kubernetes Dashboard or through the CLI (Kubectl), be limited to users who already have admin access via your OpenStack project. This is because users with access can create, delete or modify resources in your cluster(s).</br>If granting access to other users is necessary, we recommend it is only to the Kubernetes Dashboard via the Identity Provider as this can be revoked later. Permission to generate a kubeconfig file for CLI usage cannot be granted through azimuth to non-admin users, the kubeconfig file can only be shared manually which we do not recommend.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
hide:
3+
- footer
4+
---
5+
6+
## Introduction
7+
Monitoring of user-deployed Kubernetes clusters is provided through a [Prometheus](https://prometheus.io/), [Grafana](https://grafana.com/oss/grafana/), [AlertManager](https://prometheus.io/docs/alerting/latest/alertmanager/), [Loki](https://grafana.com/oss/loki/), [Fluent-Operator](https://fluentbit.io/) stack.
8+
9+
This can all be accessed through [Grafana](https://grafana.com/docs/grafana/latest/), which can be found via the "Monitoring" link in the Details page of your Kubernetes Cluster.
10+
11+
![The link to monitoring is in Cluster Details](../../assets/images/accessing_monitoring.png){ loading=lazy }
12+
13+
The set of Monitoring cluster addons can be enabled/disabled on an existing cluster using the green <img loading="lazy" class="off-glb" src="../../assets/images/update-button.svg" style="height:1em; vertical-align:middle;"> `Update` button in details, under the Cluster Addons section.
14+
15+
!!! Info
16+
Even if the Monitoring cluster addon is disabled, Fluent-Operator will continue collecting logs to our central logging server as per our [security compliance policy](https://stfc.atlassian.net/wiki/spaces/CLOUDKB/pages/673185793/Security+Compliance).
17+
18+
Access to Grafana can be granted through the [Identity Provider](../../identity_provider/identity_provider.md)
19+
20+
### Accessing Dashboards
21+
Grafana dashboards are an easy and accessible way to query and visualize data.
22+
23+
Azimuth provides a number of useful dashboards by default to access your logging, metrics and alerting. These can be found in Grafana under the "Dashboards" sidebar entry. New dashboards can also be created, see the [Grafana Docs](https://grafana.com/docs/grafana/latest/dashboards/).
24+
25+
![An example of a dashboard](../../assets/images/monitoring_dashboard.png){ loading=lazy }
26+
27+
### Accessing Metrics
28+
The easiest way to browse Azimuth metrics is via the Dashboards.
29+
30+
However they can also be accessed under Drilldown → Metrics at a glance, or queried under Explore → Prometheus.
31+
32+
![Exploring metrics](../../assets/images/monitoring_metrics.png){ loading=lazy }
33+
34+
### Accessing Logs
35+
The best place to examine logs is via Explore -> Loki
36+
![Accessing logs via Explore - Loki](../../assets/images/monitoring_logs.png){ loading=lazy }
37+
38+
### Accessing Alerting
39+
AlertManager is managed through Grafana, via the Alerting tab. Alert Rules, Silences, and Notifications can be configured.
40+
Alerts can also be viewed.

mkdocs.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@ nav:
1111
- 'Overview': 'platforms/kubernetes.md'
1212
- 'Kubernetes Applications':
1313
- 'JupyterHub': 'platforms/kubernetes-applications/jupyterhub.md'
14-
# - 'Deploying JupyterHub': 'platforms/kubernetes-applications/jupyterhub.md'
1514
- 'DaskHub': 'platforms/kubernetes-applications/daskhub.md'
16-
# - 'Deploying DaskHub': 'platforms/kubernetes-applications/daskhub.md'
1715
- 'ArgoCD': 'platforms/kubernetes-applications/argocd.md'
18-
# - 'Deploying ArgoCD': 'platforms/kubernetes-applications/argocd.md'
1916
- 'BinderHub': 'platforms/kubernetes-applications/binderhub.md'
20-
# - 'Deploying Binderhub': 'platforms/kubernetes-applications/binderhub.md'
2117
- 'KubeFlow': 'platforms/kubernetes-applications/kubeflow.md'
22-
# - 'Deploying KubeFlow': 'platforms/kubernetes-applications/kubeflow.md'
2318
- 'HuggingFace LLM': 'platforms/kubernetes-applications/huggingface-llm.md'
24-
# - 'Deploying HuggingFace LLM': 'platforms/kubernetes-applications/huggingface-llm.md'
19+
- 'Kubernetes Cluster Addons':
20+
- 'Kubernetes Dashboard': 'platforms/kubernetes-cluster-addons/kubernetes_dashboard.md'
21+
- 'Monitoring': 'platforms/kubernetes-cluster-addons/monitoring.md'
2522
# - 'Linux Workstation': 'platforms/linux-workstation.md'
2623
# - 'Jupyter Notebook': 'platforms/jupyter-notebook.md'
2724
# - 'Slurm': 'platforms/slurm.md'

0 commit comments

Comments
 (0)