docs/reference/commandline/tye-deploy.md
tye deploy - Deploys the application to Kubernetes.
tye deploy [-?|-h|--help] [-i|--interactive] [-v|--verbosity <Debug|Info|Quiet>] [-n|--namespace <n>] [-f|--framework <framework>] [--tags <tags>] [--force] [<PATH>]
The tye deploy command will deploy an application to Kubernetes. tye deploy by default will:
tye deploy chooses the Kubernetes namespace to operate in according to the following priority:
--namespace passed at the command linenamespace configured in tye.yaml (if present):bulb: Use
kubectl config view --minify --output 'jsonpath={..namespace}'to view the current namespace.
:warning: The
tye deploycommand requires access to a remote container registry. Images will be tagged using the registry configured intye.yaml(if present), or using a registry supplied interactively at the command line.
:bulb: The
tye deploycommand uses Docker's credentials for pushing to the remote container registry. Make sure Docker is configured to push to your registry before runningtye deploy.
:bulb: The
tye deploycommand uses your local Kubernetes context to access the Kubernetes cluster. Make surekubectlis configured to manage your cluster before runningtye deploy.
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-i|--interactive
Does 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.
-n|--namespace
Specifies the Kubernetes namespace for deployment. Overrides a namespace value set in tye.yaml.
-f|--framework <framework>
The target framework hint to use for all cross-targeting projects with multiple TFMs. This value must be a valid target framework for each individual cross-targeting project. Non-crosstargeting projects will ignore this hint and the value TFM configured in tye.yaml will override this hint.
--tags <tags>
Filter the group of running services by tag.
--force
Override validation and forces deployment.
Deploy an application from the current directory:
tye deploy
Deploy an application with interactive input:
tye deploy --interactive
Deploy an application, increasing log verbosity to Debug.
tye deploy --verbosity Debug