This repository contains a collection of GCP Next 2018 demos used in the Knative technical session called "One platform for your functions, apps, and containers" (slides,video).
To run these samples you need to follow Knative install steps and post-install cluster configuration instructions for both assigning a static IP and setting up a custom domain.
Follow these instructions to run the demos in the presentation:
- Deploying an image
- Routing and managing traffic with blue/green deployment
- Automatic scaling and sizing workloads
- Orchestrating source-to-URL workflows
- On-cluster Java/Kotlin/Groovy/Scala build and deploy using Jib
- Binding running services to an IoT core
Run the following command to watch your Kubernetes pods while running the demos:
kubectl port-forward -n monitoring \
$(kubectl get pods -n monitoring --selector=app=grafana --output=jsonpath="{.items..metadata.name}") \
3000