Skip to content

persistent services proposal - #134

Open
gabor-lbl wants to merge 1 commit into
mainfrom
kube
Open

gabor-lbl wants to merge 1 commit into
mainfrom
kube

Conversation

@gabor-lbl

@gabor-lbl gabor-lbl commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Adding the following endpoints for persistent services:

GET /persistent-service/servers
GET /persistent-service/servers/{server}/clusters
GET /persistent-service/servers/{server}/clusters/{cluster}/projects
POST /persistent-service/servers/{server}/clusters/{cluster}/namespaces
POST /persistent-service/servers/{server}/kubeconfig

This is based on our use-case of a multi-tenant k8s server that organizes users into project. If a facility doesn't have projects, they're not required.

  • server: this is an actual k8s server
  • cluster: an environment on the server (eg. prod, dev, etc.)
  • project: a rancher concept to support multi-tenancy (optional)
  • create namespace: this call is special because it takes a project (if supported) - so we can't just call the k8s api here
  • create a kubeconfig: create a config file, which can then be used to make k8s api calls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant