Skip to content

About

Core module that provides general purpose tools to operate the clusters of SIGHUP Distribution (SD)

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Shows a black logo in light color mode and a white one in dark color mode.
Utilities Module

Release License Slack

Utilities Module is a core module and provides general purpose tools to operate and use the clusters of SIGHUP Distribution (SD). Today it ships a web UI for Kubernetes based on the Headlamp project, extended with plugins for the SD modules.

If you are new to SD please refer to the official documentation on how to get started with SD.

Overview

The web UI gives you a single place to see the state of the cluster and of the SD modules: cluster overview, Prometheus alerts, certificate expiry, Kubernetes events, logs from Loki or OpenSearch, Velero backups, and Kyverno or Gatekeeper policy violations. Users log in with a Kubernetes token or with SSO through Pomerium, and see what their Kubernetes RBAC allows. All its components run in the headlamp namespace.

Packages

The following packages are included in Utilities Module:

Package Version Description
headlamp 0.40.1 Web UI for Kubernetes, extended with plugins for the SD modules

Click on each package to see its full documentation.

Compatibility

Kubernetes Version Compatibility Notes
1.33.x ✅ No known issues
1.34.x ✅ No known issues
1.35.x ✅ No known issues
1.36.x ✅ No known issues

Check the compatibility matrix for the Kubernetes versions supported by each module release.

Usage

Utilities Module is part of SIGHUP Distribution (SD). furyctl downloads and deploys its packages automatically when you create or update an OnPremises or Immutable cluster.

Configuration

You choose whether and how to deploy the web UI under spec.distribution.modules.utilities.headlamp in your furyctl.yaml: the type field selects how the users log in (token-auth or sso), or disables the UI with none. The UI is exposed at dashboard.<baseDomain>.

With token-auth, the users log in with their own Kubernetes token and get the permissions of that token. Set the optional clusterRole field to bind a ClusterRole to the headlamp ServiceAccount, so that its token can also be used to log in:

apiVersion: kfd.sighup.io/v1alpha2
kind: OnPremises
spec:
  distribution:
    modules:
      utilities:
        headlamp:
          # How the users log in: none, token-auth or sso
          type: token-auth
          clusterRole: view

With sso, the UI is behind Pomerium and the users log in with SSO. The group in oidcGroup gets read access to the cluster. This type requires the SSO auth provider:

apiVersion: kfd.sighup.io/v1alpha2
kind: OnPremises
spec:
  distribution:
    modules:
      auth:
        provider:
          type: sso
      utilities:
        headlamp:
          type: sso
          oidcGroup: authors

See the configuration reference for your cluster kind for the full list of available options: OnPremises or Immutable.

The examples/ directory shows how to deploy the web UI with kustomize on other clusters.

To install SD from scratch, follow the Getting started guide.

Contributing

Before contributing, please read first the Contributing Guidelines.

Reporting Issues

In case you experience any problem with the module, please open a new issue.

License

This module is open source and it's released under the following LICENSE.

About

Core module that provides general purpose tools to operate the clusters of SIGHUP Distribution (SD)

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages