Knative Serving
For prototyping purposes, Knative works on most local deployments of Kubernetes. For example, you can use a local, one-node cluster that has 3 CPUs and 4 GB of memory.
Knative Eventing
For prototyping purposes, Knative works on most local deployments of Kubernetes. For example, you can use a local, one-node cluster that has 3 CPUs and 4 GB of memory. If you have only one node in your cluster, you need at least 6 CPUs, 6 GB of memory, and 30 GB of disk storage.
Start Minikube Cluster | |
StartMinikubeClustor | |
# Delete Old minikube Cluster | |
$ minikube stop | |
$ minikube delete | |
# Start minikub clustor. 6 Core is need if you are running in Windows with minikube | |
$ minikube start --memory 8000 --cpus 6 --driver=virtualbox --no-vtx-check | |
# Verify minikube k8 cluster | |
$ minikube status | |
$ kubectl get nodes | |
Installing Knative Serving using YAML | |
# To install the Knative Serving component: | |
# Install the required custom resources by running the command: | |
$ kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.8.1/serving-crds.yaml | |
# Install the core components of Knative Serving by running the command: | |
$ kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.8.1/serving-core.yaml | |
# Install a networking layer: Istio | |
# The following commands install Istio and enable its Knative integration. | |
# Install a properly configured Istio by following the Advanced Istio installation instructions or by running the command: | |
$ kubectl apply -l knative.dev/crd-install=true -f https://github.com/knative/net-istio/releases/download/knative-v1.8.0/istio.yaml | |
$ kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.8.0/istio.yaml | |
# Install the Knative Istio controller by running the command: | |
$ kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.8.0/net-istio.yaml | |
# Fetch the External IP address or CNAME by running the command: | |
$ kubectl --namespace istio-system get service istio-ingressgateway | |
# Verify the Knative Serving installation | |
Monitor the Knative components until all of the components show a STATUS of Running or Completed. You can do this by running the following command and inspecting the output: | |
$ kubectl get pods -n knative-serving |
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