mix k8s.deploy (K8SDeploy v0.10.0)

View Source

Builds the application using docker_build and then deploys to K8S

  mix k8s.deploy [deploy-env] [options]

deploy-env will default to prod

Options

  • --skip-build - docker build and push will be skipped
  • --skip-migrate - will skip the migrations
  • --clean-migrations - will delete the migration jobs after running (default false)
  • --skip-deploy - will just run migrations without deploying
  • --skip-secrets - will skip applying secrets to the cluster. This is useful as depnding on your SOPS set up you may need sudo to decrypt them. The deployment will still reference existing secrets.
  • --dry-run - will execute kubectl apply as a dry-run
  • --debug - outputs extra debugging info