CLI
To control all aspects of your Kalix account from your command line, the Akka CLI (akka
) is the tool of choice. With it, you create and deploy new services, stream logs, and invite new developers to join your projects.
Please refer to the CLI documentation in the Akka CLI documentation.
Usage difference
The akka services deploy
command expects the deployment of a Service built with the Akka SDK. To use this command with a Kalix SDK, the user must pass the --classic
flag:
akka services deploy --classic \
my-service \
my-container-uri/container-name:tag-name
When deploying Kalix services with a service descriptor using akka service apply
, the runtime mode should be explicitly specified to select sidecar
:
name: my-service
spec:
image: my-container-uri/container-name:tag-name
resources:
runtime:
mode: sidecar
env:
- name: SOME_VARIABLE
value: some value