Fix Java spec example (#1519)

This commit is contained in:
Ta-Ching Chen
2020-01-29 18:04:32 +08:00
committed by GitHub
parent fed5fd4c5e
commit 85c384c64a
6 changed files with 73 additions and 56 deletions
@@ -0,0 +1,27 @@
apiVersion: fission.io/v1
kind: Function
metadata:
creationTimestamp: null
name: hello
namespace: default
spec:
InvokeStrategy:
ExecutionStrategy:
ExecutorType: poolmgr
MaxScale: 0
MinScale: 0
SpecializationTimeout: 120
TargetCPUPercent: 0
StrategyType: execution
configmaps: null
environment:
name: java
namespace: default
functionTimeout: 60
package:
functionName: io.fission.HelloWorld
packageref:
name: hellojava
namespace: default
resources: {}
secrets: null