2020-04-18 19:03:03 +00:00
|
|
|
apiVersion: serving.knative.dev/v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: chuckjokes-java-spring
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
template:
|
|
|
|
spec:
|
2020-04-18 19:42:13 +00:00
|
|
|
terminationGracePeriodSeconds: 30
|
2020-04-18 19:03:03 +00:00
|
|
|
containers:
|
2020-04-18 19:42:13 +00:00
|
|
|
- image: docker.io/wishi/chuckjokes:latest
|
|
|
|
imagePullPolicy: "Always"
|
2020-04-18 19:03:03 +00:00
|
|
|
env:
|
|
|
|
- name: TARGET
|
|
|
|
value: "Spring Boot Blog Knative v1"
|