Skip to content

Instantly share code, notes, and snippets.

@alevz257
Created February 15, 2023 12:54
Show Gist options
  • Save alevz257/863c8109bd42f7cfeee3c8166434c7bd to your computer and use it in GitHub Desktop.
Save alevz257/863c8109bd42f7cfeee3c8166434c7bd to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: basic-ingress
annotations:
kubernetes.io/ingress.class: "gce"
spec:
tls:
- secretName: cert-alvz
rules:
- host: alevz.info
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment