In this demo we will deploy a pre-built docker image of a maxprime to a Knative cluster.
Assuming you already configured static IP and custom domain. In this demo we will use
knative.tech
Knative service
manifest (see [./app.yaml]) defines the deployment
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: simple
spec:
template:
spec:
containers:
- image: gcr.io/cloudylabs-public/maxprime:0.2.1
env:
- name: RELEASE
value: "v0.2.1-simple"
To deploy, simply apply that manifest to your cluster
kubectl apply -f app.yaml
The deployed app should be available under the same URL (https://simple.demo.knative.tech/)
To remove the sample app from your cluster
kubectl delete -f app.yaml