mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
docs: add missing namespace field to the scale request
The ScaleFunction request supports specifying the function namespace. This is now included in the API spec. Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit is contained in:
parent
9e6f814f6f
commit
5c851cdf31
@ -908,6 +908,7 @@ components:
|
|||||||
ScaleServiceRequest:
|
ScaleServiceRequest:
|
||||||
required:
|
required:
|
||||||
- serviceName
|
- serviceName
|
||||||
|
- namespace
|
||||||
- replicas
|
- replicas
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -915,6 +916,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Name of deployed function
|
description: Name of deployed function
|
||||||
example: nodeinfo
|
example: nodeinfo
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
description: Namespace the function is deployed to.
|
||||||
|
example: openfaas-fn
|
||||||
replicas:
|
replicas:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user