Setting up Ingress as frontend/load balancer.

1.1K    Asked by AbdulRehman in Devops , Asked on Feb 24, 2020
Answered by Abdul Rehman

Below are the step by step procedures on how to set up ingress.

 STEP 1: Creating a backend service to expose via ingress.

kubectl create -f hello-world.yaml

Created resources can be seen using below command -

kubectl get all |grep hello-world

STEP 2: Creating self-signed certificate using openssl.

kubectl create secret tls tls-certificate --key .key --cert .crtkubectl create secret generic tls-dhparam --from-file=.pem

STEP 3: Create Nginx controller

kubectl create -f nginx-controller.yaml



Your Answer

Interviews

Parent Categories