Skip to main content

buildKnativeService

@webda/kubernetes


Function: buildKnativeService()

buildKnativeService(params, warn?): KnativeServiceManifest

Defined in: kubernetes/src/deployers/knative.service.ts:472

Build the serving.knative.dev/v1 Service of resolved parameters

Pure: the same parameters give the same manifest. Unset optional fields are omitted, the autoscaling values are annotations (strings), the others keep their type.

Parameters​

params​

KnativeDeployerParameters

the parameters, with their templates resolved

warn?​

(message) => void

receives the fields dropped or adjusted for the platform

Returns​

KnativeServiceManifest

the manifest