Jack Moore

Email: jack(at)jmoore53.com
Project Updates

Kubernetes knative Eventing with Custom Consumers!

24 Feb 2022 » kubernetes, golang, programming, software

Private Registry and CNI Configuration

On the registry server:

docker run -d -p 5000:5000 --name registry registry:2

None of the nodes were configured with container d properly so I had to run the following to populate the config.toml file:

containerd config default | sudo tee /etc/containerd/config.toml

Configuring /etc/containerd/config.toml to use custom registry:

  config_path = ""




      endpoint = ["https://registry-1.docker.io"]
      endpoint = ["http://hlvmg1.jmoore53.com:5000"]

Testing out Knative Eventing

kubectl -n knative-samples run curl --image=radial/busyboxplus:curl -it
# From within the curl pod

curl -v "" -X POST -H "Ce-Id: 536808d3-88be-4077-9d7a-a3f162705f79" -H "Ce-Specversion: 1.0" -H "Ce-Type: dev.knative.samples.helloworld" -
H "Ce-Source: dev.knative.samples/helloworldsource" -H "Content-Type: application/json" -d '{"msg":"Hello World from the curl pod."}'
© Jack Moore