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

19 lines
455 B
YAML

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