apiVersion: serving.knative.dev/v1
kind: service
...
spec:
template:
spec:
containers:
- name: first-container (1)
image: gcr.io/knative-samples/helloworld-go
ports:
- containerPort: 8080 (2)
- name: second-container (3)
image: gcr.io/knative-samples/helloworld-java