Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DeploymentProps

Hierarchy

Index

Properties

Optional Readonly cmd

cmd: string[]

Container commands.

default

[]

Optional Readonly containerPort

containerPort: number

Internal port.

default

port

Optional Readonly env

env: { name: string; value: string }[]

Extra env variables.

default

[]

Readonly image

image: string

The Docker image to use for this service.

Optional Readonly noContainerPorts

noContainerPorts: boolean

If set to true, no container ports will be specified.

Optional Readonly port

port: number

External port.

default

80

Optional Readonly pullPolicy

pullPolicy: "IfNotPresent" | "Always" | "Never"

Container pull policy.

default

"IfNotPresent"

Optional Readonly replicas

replicas: number

Number of replicas to start.

default

1

Optional Readonly secret

secret: string

Secrets for deployment.

default

undefined

Optional Readonly secretMounts

secretMounts: VolumeMount[]

Secret volume mounts for deployment container.

default

[]

Optional Readonly serviceAccount

serviceAccount: KubeServiceAccount

The service account to be used to attach to any deployment pods. Default serviceAccountName: release name

Optional Readonly tag

tag: string

The tag for the docker image.

Optional Readonly volumeMounts

volumeMounts: VolumeMount[]

Volume mounts for deployment container.

This appends to the existing list of volumes, if created by the secretMounts property.

default

[]

Optional Readonly volumes

volumes: Volume[]

Volume mounts for deployment container.

Generated using TypeDoc