Deploy with kubectl
DevSpace supports two types of deployments aside from Helm charts:
Manifests
:Kubernetes file manifests
(thinkkubectl apply -f manifest.yaml
)Kubernetes inline manifests
(thinkkubectl apply -f manifest.yaml
)
Kustomizations
(thinkkubectl apply -k kustomization/
)
Config Reference
kubectl
required
Kubectl tells DevSpace to deploy this deployment via kubectl or kustomize
kubectl
required manifests
required string[]
Manifests is a list of files or folders that will be deployed by DevSpace using kubectl
or kustomize
manifests
required string[] applyArgs
required string[]
ApplyArgs are extra arguments for kubectl apply
applyArgs
required string[] kubectl apply
createArgs
required string[]
CreateArgs are extra arguments for kubectl create
which will be run before kubectl apply
createArgs
required string[] kubectl create
which will be run before kubectl apply
kubectlBinaryPath
required string
KubectlBinaryPath is the optional path where to find the kubectl binary
kubectlBinaryPath
required string inlineManifest
required string
InlineManifests is a block containing the manifest to deploy
inlineManifest
required string kustomize
required boolean false
Kustomize can be used to enable kustomize instead of kubectl
kustomize
required boolean false kustomizeArgs
required string[]
KustomizeArgs are extra arguments for kustomize build
which will be run before kubectl apply
kustomizeArgs
required string[] kustomize build
which will be run before kubectl apply
kustomizeBinaryPath
required string
KustomizeBinaryPath is the optional path where to find the kustomize binary
kustomizeBinaryPath
required string patches
required object[]
Patches are additional changes to the pod spec that should be applied
patches
required object[]