Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/k8s/kubernetes/service"

Index

Functions

serviceTemplate

upsertService

  • If req.port is truthy, create a service if it does not exist and patch it if it does. Any provided req.serviceSpec is merged using serviceTemplate before creating/patching.

    Parameters

    Returns Promise<V1Service | undefined>

    Kubernetes resource spec used to create/patch resource, or undefined if port not defined

Generated using TypeDoc