Hands-On Kubernetes on Azure - Second Edition by Nills Franssens Shivakumar Gopalakrishnan and Gunther Lenz
Author:Nills Franssens, Shivakumar Gopalakrishnan, and Gunther Lenz
Language: eng
Format: epub
Publisher: Packt Publishing Pvt. Ltd.
Published: 2020-05-12T00:00:00+00:00
Next, we will create an Ingress so that any URL that goes to handsonaks-ingress-<yourname>.<your azure region>.cloudapp.azure.com/oauth will be redirected to the oauth2-proxy service. The same Let's Encrypt certificate issuer is used here (the oauth2_ingress.yaml file in the source code for this chapter):1 apiVersion: extensions/v1beta1
2 kind: Ingress
3 metadata:
4 name: oauth2-proxy-ingress
5 annotations:
6 kubernetes.io/ingress.class: nginx
7 cert-manager.io/issuer: "letsencrypt-prod"
8 spec:
9 tls:
10 - hosts:
11 - <your DNS prefix>.<your azure region>.cloudapp.azure.com
12 secretName: tls-secret
13 rules:
14 - host: <your DNS prefix>.<your azure region>.cloudapp.azure.com
15 http:
16 paths:
17 - path: /oauth2
18 backend:
19 serviceName: oauth2-proxy
20 servicePort: 4180
There is one interesting line to point out in this Ingress. Line 17 introduced a new path to our Ingress. As mentioned earlier in this chapter, the same Ingress can have multiple paths being directed to different back-end services. This is what we are configuring here.
Create this Ingress by using the following command:
kubectl create -f oauth2_ingress.yaml
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(26711)
The Fifty Shades Trilogy & Grey by E L James(19186)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(19169)
Shot Through the Heart by Mercy Celeste(19031)
The Ultimate Python Exercise Book: 700 Practical Exercises for Beginners with Quiz Questions by Copy(18646)
De Souza H. Master the Age of Artificial Intelligences. The Basic Guide...2024 by Unknown(18537)
D:\Jan\FTP\HOL\Work\Alien Breed - Tower Assault CD32 Alien Breed II - The Horror Continues Manual 1.jpg by PDFCreator(18464)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 10 by Isuna Hasekura and Jyuu Ayakura(17215)
Python GUI Applications using PyQt5 : The hands-on guide to build apps with Python by Verdugo Leire(17128)
Peren F. Statistics for Business and Economics...Essential Formulas 3ed 2025 by Unknown(16989)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 03 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16918)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 01 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16545)
The Subtle Art of Not Giving a F*ck by Mark Manson(14485)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(14237)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(13861)
Scorched Earth by Nick Kyme(12873)
Drei Generationen auf dem Jakobsweg by Stein Pia(11066)
Suna by Ziefle Pia(10988)
Scythe by Neal Shusterman(10458)
