Skip to content

Commit 8583289

Browse files
committed
feat: Upgrade to Knative v0.19
- Use Knative Serving v0.19 - Use Knative Eventing v0.19 - Minikube updated to v1.17.1 - Use OpenShift 4.6
1 parent 73ecdaa commit 8583289

5 files changed

Lines changed: 15 additions & 437 deletions

File tree

documentation/modules/setup/pages/_attributes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:moduledir: ..
2-
:github-repo: https://github.com/redhat-developer-demos/knative-tutorial/blob/{branch}
2+
:github-repo: {repo-base}/blob/{branch}
33
:basics-repo: serving
44
:configs-and-routes-repo: configs-and-routes
55
:scaling-repo: scaling

documentation/modules/setup/pages/minikube.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ $TUTORIAL_HOME/bin/start-minikube.sh
1717
[.console-output]
1818
[source,bash,subs="+macros,+attributes"]
1919
----
20-
😄 [{tutorial-namespace}] minikube {minikube-version} on Darwin 10.15.7
20+
😄 [{tutorial-namespace}] minikube {minikube-version} on Darwin 11.1
2121
✨ Using the hyperkit driver based on user configuration
2222
👍 Starting control plane node {tutorial-namespace} in cluster {tutorial-namespace}
2323
🔥 Creating hyperkit VM (CPUs=6, Memory=8192MB, Disk=51200MB) ...
24-
🐳 Preparing Kubernetes v1.18.0 on Docker 19.03.12 ...
24+
🐳 Preparing Kubernetes {kubernetes-version} on Docker 20.10.2 ...
2525
> kubelet.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
2626
> kubectl.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
2727
> kubeadm.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s
@@ -201,8 +201,7 @@ A successful Kourier Ingress Gateway should show the following pods in `kourier-
201201
[.console-input]
202202
[source,bash,subs="+quotes,+attributes,+macros"]
203203
----
204-
kubectl get pods --all-namespaces -l 'app in(3scale-kourier-gateway,3scale-kourier-cont
205-
rol)'
204+
kubectl get pods --all-namespaces -l 'app in(3scale-kourier-gateway,3scale-kourier-control)'
206205
----
207206

208207
[.console-output]
@@ -303,7 +302,7 @@ Configure Knative to use the `kourier-ingress` Gateway:
303302
[.console-input]
304303
[source,bash,subs="+macros,+attributes"]
305304
----
306-
ksvc_domain="\"data\":{\""$(minikube ip)".nip.io\": \"\"}"
305+
ksvc_domain="\"data\":{\""$(minikube -p {tutorial-namespace} ip)".nip.io\": \"\"}"
307306
kubectl patch configmap/config-domain \
308307
-n knative-serving \
309308
--type merge \

documentation/modules/setup/pages/openshift.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[#install-knative-openshift]
22
= OpenShift
33
include::_attributes.adoc[]
4+
:hardbreaks-option:
45

56
Knative Serving and Eventing install needs OpenShift4, you need to have one provisioned using https://try.openshift.com[try.openshift.com] or can use any existing OpenShift4 cluster.
67

@@ -13,19 +14,20 @@ Once you have your cluster, you can download the latest OpenShift client(oc) fro
1314
oc version
1415
----
1516

16-
The output should show oc version >=4.5
17+
The output should show oc version >= {openshift-version}
1718

1819
[.console-output]
19-
[source,bash]
20+
[source,bash,subs="+macros,+attributes"]
2021
----
21-
Client Version: 4.5.8
22-
Kubernetes Version: v1.18.2-0-g52c56ce
22+
Client Version: 4.6.9
23+
Kubernetes Version: {kubernetes-version}
2324
----
2425

25-
[IMPORTANT]
26-
=====
27-
Please follow the https://docs.openshift.com/container-platform/4.3/serverless/installing_serverless/installing-openshift-serverless.html[OpenShift] documentation, to have Knative components installed on your cluster.
28-
=====
26+
 
27+
28+
video::eOwJjC9u4aM[youtube,width=640,height=480]
29+
30+
For more information on OpenShift Servertless, consult the https://docs.openshift.com/container-platform/4.6/serverless/installing_serverless/installing-openshift-serverless.html[OpenShift^] documentation.
2931

3032
**Navigate to tutorial project**
3133

0 commit comments

Comments
 (0)