Notes
- "sleep 900" means wait for jobs to be completed and pods to be running
#!/usr/bin/env bash
echo "Install v0.14.2"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.14.2/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.14.2/eventing-core.yaml
sleep 900
echo "Upgrade to v0.15.4"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.15.4/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.15.4/eventing-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.15.4/upgrade-to-v0.15.0.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.15.4/storage-version-migration-v0.15.0.yaml
sleep 900
echo "Upgrade to v0.16.2"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.16.2/pre-install-to-v0.16.0.yaml
sleep 900
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.16.2/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.16.2/eventing-core.yaml
sleep 900
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.16.2/post-install-to-v0.16.0.yaml
sleep 900
echo "Upgrade to v0.17.9"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.17.9/eventing-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.17.9/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.17.9/eventing-post-install-jobs.yaml
sleep 900
echo "Upgrade to v0.18.6"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.18.6/eventing-pre-install-jobs.yaml
sleep 900
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.18.6/eventing-crds.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.18.6/eventing-core.yaml
sleep 900
echo "Upgrade to v0.19.3"
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.19.3/eventing-core.yaml
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.19.3/eventing-crds.yaml
kubectl apply -f https://github.com/knative-sandbox/eventing-kafka-broker/releases/download/v0.19.0/eventing-kafka-controller.yaml
kubectl apply -f https://github.com/knative-sandbox/eventing-kafka-broker/releases/download/v0.19.0/eventing-kafka-broker.yaml
kubectl apply -f https://github.com/knative-sandbox/eventing-kafka-broker/releases/download/v0.19.0/eventing-kafka-sink.yaml
Trying once again: this is the output now after deleting uninstalling Eventing: