Knative Eventing | |
$ kubectl get pods -n knative-eventing | |
NAME READY STATUS RESTARTS AGE | |
eventing-controller-bb8b689c4-lk6pq 1/1 Running 0 41s | |
eventing-webhook-577bb88ccd-hcz5p 1/1 Running 0 41s | |
Check if there are any errors logged in the Knative components | |
$ kubectl logs -n knative-serving <pod-name> | |
$ kubectl logs -n knative-eventing <pod-name> | |
$ kubectl logs -n <ingress-namespaces> <pod-namespaces> # see above for the relevant namespaces | |
For example | |
$ kubectl logs -n knative-serving activator-6b9dc4c9db-cl56b | |
2023/05/01 11:52:51 Registering 3 clients | |
2023/05/01 11:52:51 Registering 3 informer factories | |
2023/05/01 11:52:51 Registering 4 informers | |
Check the status of the Knative Resources | |
$ kubectl describe -n <namespace> kservice | |
$ kubectl describe -n <namespace> config | |
$ kubectl describe -n <namespace> revision | |
$ kubectl describe -n <namespace> sks # Serverless Service | |
$ kubectl describe -n <namespace> kingress # Knative Ingress | |
$ kubectl describe -n <namespace> rt # Knative Route | |
$ kubectl describe -n <namespace> dm # Domain-Mapping | |
Check the status at the end. For example | |
Knative Serving | |
$ kubectl describe -n default kservice | |
... omitted ... | |
Status: | |
Address: | |
URL: http://hello.default.svc.cluster.local | |
Conditions: | |
Last Transition Time: 2023-05-01T12:08:18Z | |
Status: True | |
Type: ConfigurationsReady | |
Last Transition Time: 2023-05-01T12:08:18Z | |
Status: True | |
Type: Ready | |
Last Transition Time: 2023-05-01T12:08:18Z | |
Status: True | |
Type: RoutesReady | |
Latest Created Revision Name: hello-00001 | |
Latest Ready Revision Name: hello-00001 | |
Observed Generation: 1 | |
Traffic: | |
Latest Revision: true | |
Percent: 100 | |
Revision Name: hello-00001 | |
URL: http://hello.default.10.89.0.200.sslip.io | |
Events: | |
Type Reason Age From Message | |
---- ------ ---- ---- ------- | |
Normal Created 45s service-controller Created Configuration "hello" | |
Normal Created 45s service-controller Created Route "hello" | |
Knative Eventing | |
$ kubectl describe -n <namespace> brokers | |
$ kubectl describe -n <namespace> eventtypes | |
$ kubectl describe -n <namespace> triggers | |
$ kubectl describe -n <namespace> channels | |
$ kubectl describe -n <namespace> subscriptions | |
$ kubectl describe -n <namespace> apiserversources | |
$ kubectl describe -n <namespace> containersources | |
$ kubectl describe -n <namespace> pingsources | |
$ kubectl describe -n <namespace> sinkbindings | |
Check the status at the end. For example | |
$ kubectl describe -n default brokers | |
... omitted ... | |
Status: | |
Annotations: | |
bootstrap.servers: my-cluster-kafka-bootstrap.kafka:9092 | |
default.topic.partitions: 10 | |
default.topic.replication.factor: 3 |
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND