github.com/eth-easl/loader@v0.0.0-20230908084258-8a37e1d94279/workloads/other/producer.yaml (about) 1 apiVersion: serving.knative.dev/v1 2 kind: Service 3 metadata: 4 namespace: default 5 spec: 6 template: 7 spec: 8 containers: 9 - image: docker.io/vhiveease/chained-functions-serving-producer:latest 10 imagePullPolicy: Always 11 args: ["-addr", "consumer.default.svc.cluster.local"] 12 env: 13 - name: TRANSFER_TYPE 14 value: "S3" 15 # replace with envsubt 16 - name: AWS_ACCESS_KEY 17 value: ${AWS_ACCESS_KEY} 18 - name: AWS_SECRET_KEY 19 value: ${AWS_SECRET_KEY} 20 - name: AWS_REGION 21 value: "us-west-1" 22 - name: ENABLE_TRACING 23 value: "false" 24 ports: 25 # For `h2c`, see https://knative.tips/networking/http2/ 26 - name: h2c 27 # Container mode (don't try to call firecracker via 50051 here) 28 containerPort: 80