Created
February 21, 2023 21:12
-
-
Save joseabraham/ee197f5c1ed6d43ccdec26046413421a to your computer and use it in GitHub Desktop.
Kubernetes Ingress Configuration for Nginx - Let's Encrypt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: app-ingress | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
cert-manager.io/cluster-issuer: "letsencrypt-prod" | |
spec: | |
tls: | |
- hosts: | |
- example.domain.io | |
secretName: example-tls | |
rules: | |
- host: example.domain.io | |
http: | |
paths: | |
- pathType: Prefix | |
path: "/" | |
backend: | |
service: | |
name: linode-app | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment