kalix services deploy

Deploys a service to the currently configured project.

Synopsis

The kalix service deploy service-name docker-image command deploys a service with name service-name using the docker-image.

You will need Docker credentials to be set up in order for Kalix to be able to pull from your private image repository. For more info see kalix docker
kalix services deploy SERVICE IMAGE [flags]

Examples

kalix services deploy my-service my-repo/my-service-image

Options

      --env stringToString          the environment variables separated by commas, for example MY_VAR1=value1,MY_VAR2="value2 with spaces" (default [])
  -h, --help                        help for deploy
      --max-instances int32         the maximum number of instances of a service that should be available. Must be greater than or equal to 1, less than or equal to 10, and greater than or equal to min-instances. Defaults to 10. Not available for trial projects. (default -1)
      --min-instances int32         the minimum number of instances of a service that should be available. Must be greater than or equal to 1, less than or equal to 10, and less than or equal to max-instances. Defaults to 3. Not available for trial projects. (default -1)
      --owner string                the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string              project to use if not using the default configured project
      --secret-env stringToString   environment variables from secrets, comma separated, whose values refer to secret-name and secret-key, for example MY_VAR1=secret-name/secret-key1,MY_VAR2=secret-name/secret-key2 (default [])

Options inherited from parent commands

      --config string      location of config file (default "~/.kalix/config.yaml")
      --context string     configuration context to use
      --disable-prompt     Disable all interactive prompts when running kalix commands. If input is required, defaults will be used, or an error will be raised.
                           This is equivalent to setting the environment variable KALIX_DISABLE_PROMPTS to true.
  -o, --output string      set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet              set quiet output (helpful when used as part of a script)
      --timeout duration   client command timeout (default 10s)
  -v, --verbose            set verbose output

SEE ALSO