Skip to content
Gallery
Gentera
Share
Explore
Identity Access Manager

ingress.yaml


apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: METADATA_NAME
namespace: NAMESPACE
annotations:
ingress.gcp.kubernetes.io/pre-shared-cert: CERT_NAME
kubernetes.io/ingress.class: "gce-internal"
kubernetes.io/ingress.allow-http: "false"
kubernetes.io/ingress.regional-static-ip-name: STATIC_IP_NAME
labels:
app: APP_NAME
spec:
rules:
- host: INGRESS_HOST
http:
paths:
- backend:
serviceName: SERVICE_NAME
servicePort: SSL_PORT_NUMBER
- backend:
serviceName: SERVICE_NAME
servicePort: HTTP_PORT_NUMBER
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.