Add kubernetes podSpec support in fission spec (#1106)
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
include:
|
||||
- hello.js
|
||||
kind: ArchiveUploadSpec
|
||||
name: hello-js-leSC
|
||||
|
||||
---
|
||||
apiVersion: fission.io/v1
|
||||
kind: Package
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: hello-js-vm2y
|
||||
namespace: default
|
||||
spec:
|
||||
deployment:
|
||||
checksum: {}
|
||||
type: url
|
||||
url: archive://hello-js-leSC
|
||||
environment:
|
||||
name: nodep
|
||||
namespace: default
|
||||
source:
|
||||
checksum: {}
|
||||
status:
|
||||
buildstatus: none
|
||||
|
||||
---
|
||||
apiVersion: fission.io/v1
|
||||
kind: Function
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: nodehellop
|
||||
namespace: default
|
||||
spec:
|
||||
InvokeStrategy:
|
||||
ExecutionStrategy:
|
||||
ExecutorType: poolmgr
|
||||
MaxScale: 0
|
||||
MinScale: 0
|
||||
TargetCPUPercent: 0
|
||||
StrategyType: execution
|
||||
configmaps: null
|
||||
environment:
|
||||
name: nodep
|
||||
namespace: default
|
||||
package:
|
||||
packageref:
|
||||
name: hello-js-vm2y
|
||||
namespace: default
|
||||
resources: {}
|
||||
secrets: null
|
||||
Reference in New Issue
Block a user