Open aabedraba opened 1 year ago
although this is cool - aren't there other tools out there that already to this? could/should we start with "containerised APIs" instead? - i.e.
kusk deploy api --container swaggerapi/peststorev3 --definition <external-url-or-path-exposed-by-container-to-openapi>
?
@olensmar definitely would be better to start with APIs.
you mention other tools solving this for frontend, which ones have you seen so far the solve this? I’m not aware of any.
Actually why not both. Users can pick what they want to deploy either an API or a FE app.
kusk create page --service web-app --image myrepo/myimage:latest --port 80
kusk create api --service api-svc --image myrepo/myapi:latest
We can make only image parameter required and we autogenerate service name
This would mean from 0 to fully working FE/API in 5 minutes
This would mean from 0 to fully working FE/API in 5 minutes
Actually, less than a minute :P
For create api
I guess we would require a path/url to the openapi definition?
Yes that is correct I forgot to add it
Would be cool if we enabled frontend developers to deploy their containerized web applications simply with Kusk.
A command like
Under the hood it would create a deployment and expose it
and then it would create a simple StaticRoute and connect it:
Alternatively, if that's complicated, we could just create the StaticRoute given a service name:
Which would create the StaticRoute under-the-hood.