Skip to content

Instantly share code, notes, and snippets.

@sahil143
Created February 19, 2020 13:44
Show Gist options
  • Save sahil143/c4d34e5bc4dd2cd28ba2ef92ef3bc3a5 to your computer and use it in GitHub Desktop.
Save sahil143/c4d34e5bc4dd2cd28ba2ef92ef3bc3a5 to your computer and use it in GitHub Desktop.
kantive service
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: greeter
spec:
template:
metadata:
name: greeter-v1
annotations:
# disable istio-proxy injection
sidecar.istio.io/inject: "false"
spec:
containers:
- image: quay.io/rhdevelopers/knative-tutorial-greeter:quarkus
livenessProbe:
httpGet:
path: /healthz
readinessProbe:
httpGet:
path: /healthz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment