Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (41 loc) · 1.68 KB

File metadata and controls

68 lines (41 loc) · 1.68 KB

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.

tye deploy operates in the current Kubernetes namespace. Use kubectl config view --minify --output 'jsonpath={..namespace}' to view the current namespace.

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|--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.

  • -f|--force

    Override 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