From ef65602b79f0acbd5f238ba3bfcc736fa0f59149 Mon Sep 17 00:00:00 2001 From: Rahul Bhati Date: Thu, 24 Sep 2020 23:06:37 +0530 Subject: [PATCH] Added concurrency field to schema validation (#1727) Co-authored-by: Vishal --- pkg/crd/crdvalidations.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/crd/crdvalidations.go b/pkg/crd/crdvalidations.go index f8aa6786..2e166e5f 100644 --- a/pkg/crd/crdvalidations.go +++ b/pkg/crd/crdvalidations.go @@ -44,6 +44,10 @@ var ( Type: "integer", Description: "IdleTimeout specifies the length of time that a function is idle before the function pod(s) are eligible for deletion. If no traffic to the function is detected within the idle timeout, the executor will then recycle the function pod(s) to release resources.", }, + "concurrency": { + Type: "integer", + Description: "Concurrency specifies the maximum number of pods that can be specialized concurrently to serve requests.\n This is optional. If not specified default value will be taken as 5", + }, }, }, }