Add example for builder podspec (#1374)

This commit is contained in:
Vivek Singh
2019-11-04 16:02:30 +08:00
committed by Ta-Ching Chen
parent d1ed089c3e
commit e4f44ffa63
12 changed files with 98 additions and 0 deletions
@@ -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