apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: pi labels: kubernetes.courselabs.co: ingress annotations: nginx.ingress.kubernetes.io/proxy-buffering: "on" nginx.ingress.kubernetes.io/configuration-snippet: | proxy_cache static-cache; proxy_cache_valid 10m; spec: rules: - host: pi.local http: paths: - path: / pathType: Prefix backend: service: name: pi-internal port: name: http tls: - secretName: https-local