Skip to content

deploymentMode

Kubedeploy by default deploys your application in Kubernetes cluster as Deployment.

You can also specify different deplyomentMode per use-case:

  • Deployment - default if unspecified
  • Statefulset - deploy application as StatefulSets
  • Job - deploy application as Jobs
  • Cronjob - deploy application as CronJob
  • None - do not deploy application. In this mode Kubedeploy can be used to deploy, ConfigMaps, Secrets, etc.

Application as StatefulSets

values.yaml
1
2
3
4
5
image:
  repository: nginx
  tag: 1.25.2

deploymentMode: Statefulset
Deploy command
helm install webserver sysbee/kubedeploy -f values.yaml

Additional options

Some deployment modes offer additional mode specific customizations or restrictions, see related Kubedeploy values for more info.

See also: