knative-report/functions/scaling/isprime-go.yml

19 lines
450 B
YAML
Raw Permalink Normal View History

2019-10-08 18:30:22 +02:00
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: isprime-go-sc
namespace: default
spec:
template:
2019-10-20 23:49:19 +02:00
metadata:
2019-10-08 18:30:22 +02:00
annotations:
# Knative cpu-based autoscaling.
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
autoscaling.knative.dev/metric: cpu
spec:
containers:
2019-10-09 15:38:29 +02:00
- image: tormachris/isprime-go
2019-10-09 21:35:36 +02:00
env:
- name: TARGET
2019-10-09 21:37:41 +02:00
value: "107107"