Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

A series of examples on how to handcraft KNative k8s resources to mimic the v2 architecture

License

Notifications You must be signed in to change notification settings

5733d9e2be6485d52ffa08870cabdee0/smartevents-v2-handcraft

Repository files navigation

For macOS create the cluster in this way (otherwise the ingress won't work)

minikube  start --vm-driver=hyperkit --cpus=4 --memory=8192

KNative Install

kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.8.0/serving-crds.yaml

kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.8.0/serving-core.yaml

kubectl apply -f https://github.com/knative/net-kourier/releases/download/knative-v1.8.0/kourier.yaml

kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress-class":"kourier.ingress.networking.knative.dev"}}'

kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.8.0/eventing-crds.yaml

kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.8.0/eventing-core.yaml

kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.8.0/in-memory-channel.yaml

kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.8.0/mt-channel-broker.yaml

Kamel

minikube  addons enable registry
kamel install

In memory channel configuration

kubectl apply -f 01-inmemory-broker/config-br-defaults.yaml
kubectl apply -f 01-inmemory-broker/imc-channel.yaml

Ingress

minikube  addons enable ingress
minikube  addons enable ingress-dns

About

A series of examples on how to handcraft KNative k8s resources to mimic the v2 architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published