Allows a cluster or namespace to be managed on KubeSail.com
https://kubesail.com -> Clusters -> Add Cluster -> "Full" Install
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 |
Install skaffold and have a Kubernetes context ready, then run:
skaffold dev --port-forward
That's it!
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