knative-report/functions/scaling/hello-world-go.yml

19 lines
453 B
YAML

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: helloworld-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/hello-world-go
env:
- name: TARGET
value: "Go"