🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Knative Tutorials – Chapter 3 – Install Knative with YAML using minikube

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
Subscribe
Notify of
guest


0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x