Monitor owned datacenter activity
Go to file
2025-03-12 11:07:45 +01:00
conf recreate conf erased by gitignore 2025-03-05 17:47:13 +01:00
controllers changed status code to 201 when creating resource 2025-03-12 11:07:45 +01:00
docs Changed the return of the /kubeconfig to encoded kubeconfig 2025-02-28 17:57:13 +01:00
infrastructure monitord is able to create an admiralty Source on remote peer 2025-03-10 17:57:14 +01:00
models Added new route to retrieve the host's kubeconfig with the execution's SA token 2025-02-28 14:07:45 +01:00
routers cleaning 2025-02-27 17:09:37 +01:00
docker_datacenter.json added files deleted by previous gitignore 2025-03-06 10:35:03 +01:00
docker-compose.yml cleaning 2025-02-27 17:09:37 +01:00
Dockerfile Added the 'timeout 15' before bee run --downdoc=true' to make sure swagger is dowloaded 2025-03-06 10:35:03 +01:00
go.mod neo oclib 2025-03-05 16:48:31 +01:00
go.sum neo oclib 2025-03-05 16:48:31 +01:00
LICENSE.md license update 2024-10-03 09:40:38 +02:00
main.go Merge branch 'feature/namespace' 2025-02-17 09:28:34 +01:00
Makefile dev launch mode 2025-03-06 10:33:22 +01:00
README.md Started the implementation of new routes for admiralty 2025-03-06 10:35:03 +01:00

oc-datacenter OpenCloud shared service.

Manages user shared

To build :

bee generate routers
bee run -gendoc=true -downdoc=true

OR make dev

If default Swagger page is displayed instead of tyour api, change url in swagger/index.html file to :

url: "swagger.json"

Note on particular process :

  • set a bookin delete all related workflow booking before creating new ones. (no update of existing ones)

Admiralty

The routes in /admiralty will trigger actions on the DC's Kubernetes API to retrieve information on Admiralty resources.

Targets

Remote clusters that can be used by Admiralty to delegate pods.

To set up a target Admiralty needs to associate a secret which contains an edited version of the target's kubeconfig.

Once the Target is set the remote cluster appears in the output of kubectl get nodes under the name admiralty-<namespace>-<target name>-*

TODO : We might need a way to test if an IP is associated to an admiralty target

Docker Kube Settings

Set up your base64 key from your ~/.kube/config. Don't forget to set up your external IP in docker_datacenter.json

Admiralty

The routes in /admiralty will trigger actions on the DC's Kubernetes API to retrieve information on Admiralty resources.

Targets

Remote clusters that can be used by Admiralty to delegate pods.

To set up a target Admiralty needs to associate a secret which contains an edited version of the target's kubeconfig.

Once the Target is set the remote cluster appears in the output of kubectl get nodes under the name admiralty-<namespace>-<target name>-*

TODO : We might need a way to test if an IP is associated to an admiralty target

Docker Kube Settings

Set up your base64 key from your ~/.kube/config. Don't forget to set up your external IP in docker_datacenter.json

Admiralty

The routes in /admiralty will trigger actions on the DC's Kubernetes API to retrieve information on Admiralty resources.

Targets

Remote clusters that can be used by Admiralty to delegate pods.

To set up a target Admiralty needs to associate a secret which contains an edited version of the target's kubeconfig.

Once the Target is set the remote cluster appears in the output of kubectl get nodes under the name admiralty-<namespace>-<target name>-*

TODO : We might need a way to test if an IP is associated to an admiralty target