1.5 KiB
tye deploy
Name
tye deploy - Deploys the application to Kubernetes.
Synopsis
tye deploy [-?|-h|--help] [-i|--interactive] [-v|--verbosity <Debug|Info|Quiet>] [-f|--force] [<PATH>]
Description
The tye deploy command will deploy an application to Kubernetes. tye deploy by default will:
- Create a docker image for each project in your application.
- Push each docker image to your container registry.
- Generate a Kubernetes Deployment and Service for each project.
- Apply the generated Deployment and Service to your current Kubernetes context.
Arguments
PATH
The path to either a file or directory to execute tye deploy on. Can either be a yaml, sln, or project file, however it is recommend to have a tye.yaml file for tye deploy.
If a directory path is specified, tye deploy will default to using these files, in the following order:
tye.yaml*.sln*.csproj/*.fsproj
Options
-
-i|--interactiveDoes an interactive deployment that will accept input for values that are required by default.
-
-v|--verbosity <Debug|Info|Quiet>The verbosity of logs emitted by
tye deploy. Defaults to Info. -
-f|--forceOverride validation and forces deployment.
Examples
-
Deploy an application from the current directory:
tye deploy -
Deploy an application with interactive input:
tye run --interactive -
Deploy an application, increasing log verbosity to Debug.
tye deploy --verbosity Debug