@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
70 lines (35 loc) • 3.62 kB
Markdown
# Knative
[Knative](https://knative.dev/) provides powerful serverless capabilities to Kubernetes, such as scale to zero, revision-based deployment, traffic splitting, etc. While the kn CLI provides strong operational control, a visual interface is beneficial for many Kubernetes users.
The [knative plugin for headlamp](https://github.com/headlamp-k8s/plugins/tree/main/knative) fills this very gap by providing an intuitive visual interface for managing Knative resources like KService, Revisions and Networking.
This allows users to Add/Edit KService, View Revisions, Manage traffic splitting between revisions, Autoscaling configuration and Shows Network Details.
## KService
A Knative Service (KService) is the top-level resource that manages the entire lifecycle of your serverless workload. It automatically provisions the underlying routes, configurations, and revisions needed to get your application running and exposed to traffic.

Since many fields may require frequent changes, we have added a toggle switch to switch between Read and Edit mode.

## Traffic Splitting
Traffic splitting between all revisions are shown along with their tags which redirect to their respective URL.

## Autoscaling Configuration
Autoscaling features like Target Utilization %, Container Concurrency, Activation Scale, etc.

## Revisions
A Revision is a point-in-time, immutable snapshot of your code and configuration. Every time you update a KService, Knative automatically generates a new Revision. This makes it incredibly easy to roll back to previous versions or run multiple versions simultaneously for A/B testing.

The Revision view surfaces information like incoming traffic, tags, parent service, concurrency control, etc.

It also provides detailed information about each container, displaying the associated image, exposed ports, and environment variables.

## Networking
A clear overview of the ingress settings.

## Custom Domains (DomainMapping)
Map your own custom domains to KServices using DomainMapping and ClusterDomainClaim, with an overview of ready status and associated URLs.

## Knative Installation
Please refer to the [official installation guide](https://knative.dev/docs/install/) for Knative to learn to install it.
## Plugin Installation in Headlamp for Desktop
Go to the Plugin Catalog, search for the Knative plugin, and click the Install button. Reload the UI (Navigation menu > Reload, or use the notification after installing the plugin) to see the new Knative item in the sidebar.
## Contributors
Thanks to all the contributors who made this release possible!
@kahirokunn, @mudit06mah, @intojhanurag, @Sbragul26, @skoeva, @illume, @joaquimrocha