-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Kubernetes-Compatible Resource Schema and API #506
Comments
Hey @dtsulik, thanks for your interest in the project ! The main idea behind |
I agree with @dtsulik to keep the same specs as k8s if we want nanocl adoption. Because we know naming is hard in computer science, if we come up with our APIs, most likely, we will make things complex rather than simpler. |
I think converter tool is the best agreement, but maintain it could be a mess so should be done by someone using k8s and nanocl regularly |
This does not have to be a direct implementation, but a separate opt-in component that and does translations for kubernetes API objects to the nanocl API objects. |
A translations tools like we did for docker compose is the solution i would prefer, if anyone with good knowledge of the Kubernetes spec would like to work with me on this, feel free to reach me out on discord or using mail! |
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
For starters nanocl should be able to consume existing k8s yaml schemas for resources without need for external tool. In the long term, achieving feature parity with k8s will significantly ease adoption. This extends to API as well, it should have same response/request models as k8s. This would allow nanocl to take advantage of existing tools like ArgoCD, OPA and many more.
Describe alternatives you've considered
Alternative to natively supporting processing k8s compatible schemas would be to have some converter tool, which makes migration much more complex process.
Additional context
K8s has incredibly rich ecosystem, nanocl being compatible with them would be huge benefit for the project.
The text was updated successfully, but these errors were encountered: