An open API service indexing awesome lists of open source software.

https://github.com/kubesail/kubesail-agent

Allows a cluster or namespace to be managed by KubeSail.com
https://github.com/kubesail/kubesail-agent

Last synced: about 1 year ago
JSON representation

Allows a cluster or namespace to be managed by KubeSail.com

Awesome Lists containing this project

README

          

# kubesail-agent

[![Docker Pulls](https://img.shields.io/docker/pulls/kubesail/agent?style=for-the-badge)](https://hub.docker.com/r/kubesail/agent)

Allows a cluster or namespace to be managed on KubeSail.com

## Installation

https://kubesail.com -> Clusters -> Add Cluster -> "Full" Install

## Configuration

The following environment variables are available to be set:

| ENV Variable | Description | Default |
| ------------------------- | -------------------------------------------------------------------- | ------------------------------------- |
| LOGGING_LABEL | A helper tag added to each log-line | `kubesail-agent` |
| LOG_LEVEL | Controls logger verbosity (silly, debug, info, warn, error) | `info` |
| METRICS_LISTEN_PORT | Listen port for prometheus metrics | `5000` |
| AGENT_HTTP_LISTEN_PORT | Healthcheck port for agent | `6000` |
| AGENT_GATEWAY_TARGET | Target Gateway for agent registration | `https://gateway-portal.kubesail.com` |
| KUBESAIL_AGENT_INITIAL_ID | A helpful hint to show in the KubeSail dashboard before verification | none |

## Development

Install [skaffold](https://skaffold.dev/) and have a Kubernetes context ready, then run:

`skaffold dev --port-forward`

That's it!

## Updating built-in CRDs

KubeSail agent will automatically install the cert-manager CRDs when cert-manager is being installed. These can be updated with:

```
curl -sL https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.crds.yaml | yq eval -j - > code/kubesail. com/modules/kubesail-agent/lib/agent/cert-manager.crds.json
```