Add example for builder podspec (#1374)
This commit is contained in:
committed by
Ta-Ching Chen
parent
d1ed089c3e
commit
e4f44ffa63
@@ -0,0 +1,25 @@
|
||||
apiVersion: fission.io/v1
|
||||
kind: Environment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: python
|
||||
namespace: default
|
||||
spec:
|
||||
builder:
|
||||
command: build
|
||||
image: fission/python-builder
|
||||
podspec:
|
||||
nodeSelector:
|
||||
machinecap: high
|
||||
tolerations:
|
||||
- key: "env"
|
||||
value: "prod"
|
||||
operator: "Equal"
|
||||
effect: "NoSchedule"
|
||||
keeparchive: false
|
||||
poolsize: 3
|
||||
resources: {}
|
||||
runtime:
|
||||
image: fission/python-env
|
||||
terminationGracePeriod: 360
|
||||
version: 2
|
||||
Reference in New Issue
Block a user