31 lines
663 B
YAML
31 lines
663 B
YAML
apiVersion: fission.io/v1
|
|
kind: Function
|
|
metadata:
|
|
name: check-local
|
|
namespace: default
|
|
spec:
|
|
InvokeStrategy:
|
|
ExecutionStrategy:
|
|
ExecutorType: newdeploy
|
|
MinScale: 1
|
|
MaxScale: 1
|
|
StrategyType: execution
|
|
environment:
|
|
name: bench-py
|
|
namespace: default
|
|
package:
|
|
functionName: main.main
|
|
packageref:
|
|
name: check-local-7d087421-7802-4af1-b111-03d71fe738cd
|
|
namespace: default
|
|
podspec:
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: storage-check-local
|
|
containers:
|
|
- name: bench-py
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /mnt/data
|