KuberLogic comes with CLI and REST API that helps you manage your applications.
See the openapi.yaml for REST API reference.
curl --header 'X-Token: <KuberLogic API server token>' -X POST -H "Content-Type: application/json" -d '{
"id": "my-app",
"type": "my-app-type",
"domain": "example.com",
}' <KuberLogic API server endpoint>/api/v1/services
curl --header 'X-Token: <KuberLogic API server token>' <kuberlogic API server endpoint>/api/v1/services
./kuberlogic help
./kuberlogic service list
./kuberlogic service add --id tenant1 --type docker-compose --replicas 1 --domain productname.site
./kuberlogic service delete --id demo
Example:
./kuberlogic service add --id demo --type docker-compose --limits.cpu 50 --host example.com --replicas 1
Optionally you may want to enable TLS secured access to a provisioned service:
./kuberlogic service add --id demo --type docker-compose --limits.cpu 50 --host example.com --replicas 1 --tls_enabled
./kuberlogic service backup --service_id demo
./kuberlogic backup list
./kuberlogic backup list --service_id demo
./kuberlogic backup delete --id demo-1657538554
./kuberlogic backup restore --backup_id demo-1657538554
./kuberlogic restore list
./kuberlogic restore list --service_id demo
./kuberlogic restore delete --id demo-1657538554