Deploying a packaged service

  1. Set your project to be the current Akka Serverless project:

    akkasls config set project [PROJECT-NAME]

    Now subsequent commands will apply to the project you set above. Alternatively you can append --project [PROJECT-NAME] to service commands.

  2. Deploying your packaged service my-service:

    akkasls svc deploy \
        my-service \
        my-container-uri/container-name:tag-name
  3. Verify the status of the my-service service:

    akkasls svc list

Updating your deployed service

Package and tag the changes to your service, the deploy command will perform a rolling update to this service.

  1. Update your deployed service my-service with a new package tagged tag-name-2:

    akkasls svc deploy \
        my-service \
        my-container-uri/container-name:tag-name-2