Skip to main content
Version: 1.25

Kubernetes Fury Auth

Kubernetes Fury Auth provides Authentication Management for Kubernetes Fury Distribution (KFD).

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

Overview​

Kubernetes Fury Auth uses CNCF recommended, Cloud Native projects, such as the Dex identity provider, and Pomerium as an identity-aware proxy to enable secure access to internal applications.

Packages​

Kubernetes Fury Auth provides the following packages:

PackageVersionDescription
Pomeriumv0.21.0Identity-aware proxy that enables secure access to internal applications.
Dexv2.35.3Dex is a Federated OpenID Connect Provider.
Gangwayv3.2.0Enable authentication flows via OIDC for a kubernetes cluster (to be deprected).

Compatibility​

Kubernetes VersionCompatibilityNotes
1.21.x✅No known issues.
1.22.x✅No known issues.
1.23.x✅No known issues.
1.24.x✅No known issues.

Check the compatibility matrix for additional information on previous releases of the modules.

Usage​

Prerequisites​

ToolVersionDescription
furyctl>=0.6.0The recommended tool to download and manage KFD modules and their packages. To learn more about furyctl read the official documentation.
kustomize>=3.5.0Packages are customized using kustomize. To learn how to create your customization layer with kustomize, please refer to the repository.

Deployment​

  1. List the packages you want to deploy and their version in a Furyfile.yml:
versions:
auth: "v0.0.3"
bases:
- name: auth/pomerium
- name: auth/dex
- name: auth/gangway

See furyctl documentation for additional details about Furyfile.yml format.

  1. Execute furyctl vendor -H to download the packages

  2. Inspect the download packages under ./vendor/katalog/auth/.

  3. Define a kustomization.yaml that includes the ./vendor/katalog/auth directory as a resource.

resources:
- ./vendor/katalog/auth/pomerium
- ./vendor/katalog/auth/dex
- ./vendor/katalog/auth/gangway
  1. Create the configuration file for Dex (here's an LDAP-based example) and add it as a secret to the kustomization.yaml file, like this:
secretGenerator:
- name: dex
namespace: kube-system
files:
- config.yml=./secrets/dex/config.yml

ℹī¸ read more on Dex's readme.

⛔ī¸ Before proceeding, follow the instructions in Pomerium's package readme and Gangway's readme to configure them.

  1. Finally, to deploy the module to your cluster, execute:
kustomize build . | kubectl apply -f -

Monitoring​

KFD Auth module integrates out-of-the-box with KFD's Monitoring module. Providing metrics and dashboards to visualize the status of its components.

In particular:

  • Dex exposes standard Go adapter metrics, the metrics are automatically scrapped by Prometheus when using KFD Monitoring module but there are no Grafana dashboards nor alerts defined.
  • Pomerium exposes several metrics about Pomerium itself and its underlying envoy proxy. Metrics are scrapped automatically by Prometheus and 2 Grafana dashboards are available with the pomerium tag when using KFD Monitoring module. Here are some screenshots:

Screenshots​

  • Dex Login:
  • Pomerium 403 not authorized error screen:
  • Pomerium user profile screen: