Closed beetahnator closed 4 years ago
When using kubex.Deployment.createService(), the service will always be created in the default namespace.
kubex.Deployment.createService()
default
Example:
import * as kx from "@pulumi/kubernetesx" const pod = new kx.PodBuilder({ containers: [ { image: 'abiosoft/caddy' } ] }) const deployment = new kx.Deployment('test', { metadata: { namespace: 'kube-system' }, spec: pod.asDeploymentSpec() } ) deployment.createService()
When using
kubex.Deployment.createService()
, the service will always be created in thedefault
namespace.Example: