jupyter-naas / naas

Low-code Python library to safely use notebooks in production: schedule workflows, generate assets, trigger webhooks, send notifications, build pipelines, manage secrets (Cloud-only)
https://app.naas.ai/
GNU Affero General Public License v3.0
282 stars 25 forks source link

Create function to create a new service. #395

Closed Dr0p42 closed 1 year ago

Dr0p42 commented 1 year ago

As a user I want to be able to call naas.service.create().

Specifications:

  naas.service.create(
    "name"="MyServiceName",
    "image"="...ecrrepo..."
    "tag"="V1.0.0",
    "cpu"=None,
    "memory"=None
  )

image: This is the url to the container registry image. tag: The tag of the image to use inside the container registry.

Estimate: 1 Priority: Medium