Skip to content

Instantly share code, notes, and snippets.

@marcelo-ochoa
Created May 19, 2021 20:34
Show Gist options
  • Save marcelo-ochoa/17097f078966081c94f423fb08d344ae to your computer and use it in GitHub Desktop.
Save marcelo-ochoa/17097f078966081c94f423fb08d344ae to your computer and use it in GitHub Desktop.
Sampe echo app
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-test
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: "letsencrypt-staging"
spec:
rules:
- host: www.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment