Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with min
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

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

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