more function
This commit is contained in:
15
functions/scaling/hello-world-py.yml
Normal file
15
functions/scaling/hello-world-py.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: serving.knative.dev/v1alpha1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hello-world-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: docker.pkg.github.com/tormachris/knative-report-functions/hello-world-py
|
||||
Reference in New Issue
Block a user