Skip to content

Instantly share code, notes, and snippets.

@flavio-fernandes
Last active April 11, 2019 03:04
Show Gist options
  • Save flavio-fernandes/81899bcf8f9efeea1aceeeacf962ef60 to your computer and use it in GitHub Desktop.
Save flavio-fernandes/81899bcf8f9efeea1aceeeacf962ef60 to your computer and use it in GitHub Desktop.
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: foo-example-knative
namespace: default
spec:
runLatest:
configuration:
revisionTemplate:
spec:
container:
# NOTE: Make sure to use the name of your $PROJECT here,
# which is what you provided when doing a docker push
image: gcr.io/knative-proj/foo
env:
- name: TARGET
value: "Hello from foo on K8 deployed by knative"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment