knative-report/functions/scaling/isprime-go.yml
2019-10-09 21:37:41 +02:00

19 lines
448 B
YAML

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: isprime-go-sc
namespace: default
spec:
template:
metadata:
annotations:
# Knative cpu-based autoscaling.
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
autoscaling.knative.dev/metric: cpu
spec:
containers:
- image: tormachris/isprime-go
env:
- name: TARGET
value: "107107"