🚀 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: How to install Knative Serving 1.9 in Minikube?

Start Minikube Cluster

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 12000 --cpus 6 --driver=virtualbox --no-vtx-check

Verify minikube k8 cluster

$ minikube status
$ kubectl get nodes

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.9.3/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.9.3/serving-core.yaml

Install cert-manager

Knative supports automatically provisioning TLS certificates through cert-manager. The following commands install the components needed to support the provisioning of TLS certificates through cert-manager.

Install cert-manager version v1.0.0 or later.

$ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml

Install the component that integrates Knative with cert-manager by running the command:

$ kubectl apply -f https://github.com/knative/net-certmanager/releases/download/knative-v1.9.3/release.yaml

Configure Knative to automatically configure TLS certificates by following the steps in Enabling automatic TLS certificate provisioning.

Install a networking layer: Istio

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.9.2/istio.yaml
$ kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.9.2/istio.yaml

Install the Knative Istio controller by running the command:

$ kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.9.2/net-istio.yaml

Fetch the External IP address or CNAME by running the command:

$ kubectl --namespace istio-system get service istio-ingressgateway

Verify the installation of Knative Serving component & Istio

$ kubectl get pods -n knative-serving

You can configure DNS to prevent the need to run curl commands with a host header.

Knative provides a Kubernetes Job called default-domain that configures Knative Serving to use sslip.io as the default DNS suffix.

$ kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.9.3/serving-default-domain.yaml

$ kubectl get pods -A
$ kubectl get pods -A
$ kubectl --namespace istio-system get service istio-ingressgateway
$ kubectl get pods -A
$ kubectl get pods -A
$ kubectl --namespace istio-system get service istio-ingressgateway
$ kubectl --namespace istio-system get service istio-ingressgateway
$ kubectl get pods -A
$ kubectl get pods -n knative-serving
$ kubectl describe pod net-istio-controller-7466f95bb6-rvt8b -n knative-serving
$ kubectl get pods -n knative-serving
$ kubectl describe pod net-istio-webhook-69946ffc7d-sczrb -n knative-serving
$ kubectl get pods -n knative-serving
view raw README.md hosted with ❤ by GitHub
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