Skip to content

Commit dd0fa3c

Browse files
committed
docs: eventing, camelk and advanced v0.19
1 parent 796e5eb commit dd0fa3c

File tree

6 files changed

+35
-26
lines changed

6 files changed

+35
-26
lines changed

dev-site.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ asciidoc:
2525
knative-eventing-version: v0.19.2
2626
knative-sources-version: v0.19.0
2727
kn-client-version: v0.19.1
28+
camel-source-version: v0.19.0
29+
kafka-source-version: v0.19.3
30+
kamel-version: 1.3.1
2831
kubernetes-cli: kubectl
2932
release-version: master
3033
page-pagination: true

documentation/modules/advanced/pages/_attributes.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
:github-repo: https://github.com/redhat-developer-demos/knative-tutorial/blob/{branch}
33
:advanced-module-github-repo-uri: https://github.com/redhat-developer-demos/knative-tutorial-advanced
44
:advanced-github-repo-uri: https://github.com/redhat-developer-demos/knative-tutorial-advanced
5-
:advanced-github-repo: {advanced-module-github-repo-uri}/blob/{branch}
6-
:kamel-version: 1.2.0
5+
:advanced-github-re17po: {advanced-module-github-repo-uri}/blob/{branch}
6+
:kamel-version: 1.3.1
77
:experimental:
88
:maven-version: 3.6.3+
9-
:camel-source-version:
10-
:camel-source-version: v0.17.7
11-
:knative-eventing-version: v0.17.0
12-
:kafka-source-version: v0.17.7
139
:strimzi-version: 0.20.0
1410
:camelk-repo: advanced/camel-k
1511
:eventing-repo: eventing
1612
:observability-repo: advanced/observability
1713
:minikube-nip-io: 192.168.64.13.nip.io
14+
:knative-kafka-repo: https://github.com/knative-sandbox/eventing-kafka

documentation/modules/advanced/pages/_partials/adv-kubectl-queries.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ watch kubectl -n {tutorial-namespace} get pods
1010
[.console-input]
1111
[source,bash,subs="+quotes,+attributes,+macros"]
1212
----
13-
kubectl -n {tutorial-namespace} get ksvc
13+
kn -n {tutorial-namespace} service ls
1414
----
1515
#end::kgksvc[]

documentation/modules/advanced/pages/eventing-with-kafka.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Knative Eventing `KafkaSource` need to be used to have the Kafka messages to flo
2424
[source,bash,subs="+quotes,attributes+,+macros"]
2525
----
2626
kubectl apply \
27-
-f https://github.com/knative/eventing-contrib/\
28-
releases/download/{kafka-source-version}/kafka-source.yaml
27+
-f {knative-kafka-repo}/releases/download/{kafka-source-version}/source.yaml
2928
----
3029

3130
The previous step deploys Knative KafkaSource in the `knative-sources` namespace as well as a CRD, ServiceAccount, ClusterRole, etc. Verify that knative-source namespace includes the `kafka-controller-manager-0` pod:
@@ -52,8 +51,8 @@ You should also deploy the Knative Kafka Channel that can be used to connect the
5251
[#kn-eventing-deploy-kafka-channel]
5352
[source,bash,subs="+quotes,attributes+,+macros"]
5453
----
55-
curl -L "https://github.com/knative/eventing-contrib/\
56-
releases/download/{kafka-source-version}/kafka-channel.yaml" \
54+
curl -L "{knative-kafka-repo}/\
55+
releases/download/{kafka-source-version}/channel-consolidated.yaml" \
5756
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
5857
| kubectl apply --filename -
5958
----
@@ -121,12 +120,13 @@ The command should show the following APIs in `sources.eventing.knative.dev` :
121120
[.console-output]
122121
[source,bash,subs="+quotes,attributes+,+macros"]
123122
----
124-
NAME SHORTNAMES APIGROUP NAMESPACED KIND
125-
apiserversources sources.knative.dev true ApiServerSource
126-
containersources sources.knative.dev true ContainerSource
127-
*kafkasources sources.knative.dev true KafkaSource*
128-
pingsources sources.knative.dev true PingSource
129-
sinkbindings sources.knative.dev true SinkBinding
123+
TYPE NAME DESCRIPTION
124+
ApiServerSource apiserversources.sources.knative.dev Watch and send Kubernetes API events to addressable
125+
CamelSource camelsources.sources.knative.dev
126+
ContainerSource containersources.sources.knative.dev Generate events by Container image and send to addressable
127+
*KafkaSource kafkasources.sources.knative.dev Route events from Apache Kafka Server to addressable*
128+
PingSource pingsources.sources.knative.dev Send periodically ping events to addressable
129+
SinkBinding sinkbindings.sources.knative.dev Binding for connecting a PodSpecable to addressable
130130
----
131131

132132
include:

documentation/modules/camelk/pages/_attributes.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
:camelk-demos-github-repo-uri: https://github.com/redhat-developer-demos/knative-tutorial-camelk
55
:camelk-demos-github-repo: {camelk-demos-github-repo-uri}/blob/{branch}
66
:camelk-repo: advanced/camel-k
7-
:kamel-version: 1.2.0
7+
:kamel-version: 1.3.1
88
:experimental:
99
:maven-version: 3.6.0+
10-
:camel-source-version:
11-
:knative-version: v0.17.0
12-
:camel-source-version: v0.17.7
10+
:camel-source-version: v0.19.0
11+
:eventing-camel-repo: https://github.com/knative-sandbox/eventing-camel

documentation/modules/camelk/pages/camel-k-eventing.adoc

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To deploy CamelSource run the following command:
2929
[source,bash,subs="+quotes,+attributes,+macros"]
3030
----
3131
kubectl apply \
32-
-f "https://github.com/knative/eventing-contrib/releases/download/{camel-source-version}/camel.yaml"
32+
-f "{eventing-camel-repo}/releases/download/{camel-source-version}/camel.yaml"
3333
----
3434

3535
Once you deploy, thee following new pod showing up the `knative-sources` namespace, wait for the `camel-controller-manager-0` to be running:
@@ -77,10 +77,20 @@ In order for you to view the events drained from the CamelSource `timed-greeter`
7777
[.console-input]
7878
[#deploy-ce-event-display]
7979
[source,bash,subs="+quotes,+attributes,+macros"]
80-
----
81-
kubectl apply \
82-
-f https://github.com/knative/eventing-contrib/releases/download/{camel-source-version}/event-display.yaml
83-
----
80+
-----
81+
cat <<EOF | kubectl create -n {tutorial-namespace} -f -
82+
---
83+
apiVersion: serving.knative.dev/v1
84+
kind: Service
85+
metadata:
86+
name: event-display
87+
spec:
88+
template:
89+
spec:
90+
containers:
91+
- image: gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
92+
EOF
93+
-----
8494

8595
A successful event display should show the following pod in the `{tutorial-namespace}`:
8696

0 commit comments

Comments
 (0)