Keptn — Multi-stage delivery with Quality Gates(Demo)-Part 4

Utkarsh Sharma
2 min readOct 17, 2021

--

This is the continuation of “Get started with Keptn — Multi-stage delivery with Quality Gates(Demo)”. This is Configuration Step 3/3.

The next step is to configure Istio. We will need Istio for traffic routing and as ingress to our cluster. Keptn has prepared a script to ease out this process. We will configure Istio using that script and will also look at what the script is doing behind the scene.

  1. Linux
curl -o configure-istio.sh https://raw.githubusercontent.com/keptn/examples/release-0.9.0/istio-configuration/configure-istio.shchmod +x configure-istio.sh./configure-istio.sh

2. Windows

Windows users have to manually run this downloaded script. Your machine should have git bash installed.

curl -o configure-istio.sh https://raw.githubusercontent.com/keptn/examples/release-0.9.0/istio-configuration/configure-istio.sh

Running the script will configure the following:-

It will create an Ingress based on the following manifest.

---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: istio
name: api-keptn-ingress
namespace: keptn
spec:
rules:
- host: <IP-ADDRESS>.nip.io
http:
paths:
- backend:
serviceName: api-gateway-nginx
servicePort: 80

It will create an Ingress based on the following manifest.

---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: public-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- port:
name: http
number: 80
protocol: HTTP
hosts:
- '*'

Finally, the script restarts the helm-service pod of Keptn to fetch this new configuration.

Return to the main article and continue the article after the configuration.
Click Here

--

--

Utkarsh Sharma
Utkarsh Sharma

Written by Utkarsh Sharma

Cloud Enthusiast and Open Source Contributor | Java Microservices Developer | 6X Azure Certified | MCT | Love for Hiking ❤

No responses yet