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
- Host: GitHub
- URL: https://github.com/kubesail/kubesail-agent
- Owner: kubesail
- License: mit
- Created: 2020-01-07T20:24:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-10T20:57:43.000Z (over 2 years ago)
- Last Synced: 2025-04-14T14:18:07.793Z (about 1 year ago)
- Language: JavaScript
- Size: 6.44 MB
- Stars: 30
- Watchers: 5
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubesail-agent
[](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
```