We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fb998a commit fab180bCopy full SHA for fab180b
1 file changed
k8s.yaml
@@ -63,4 +63,36 @@ spec:
63
targetPort: 8080
64
protocol: TCP
65
selector:
66
- app: uploads-app
+ app: uploads-app
67
+---
68
+apiVersion: networking.k8s.io/v1
69
+kind: Ingress
70
+metadata:
71
+ name: uploads-ingress
72
+ annotations:
73
+ cloud.google.com/backend-config: '{"default": "uploads-backendconfig"}'
74
+spec:
75
+ ingressClassName: gce
76
+ rules:
77
+ - host: uploads.qdentity.io
78
+ http:
79
+ paths:
80
+ - path: /
81
+ pathType: Prefix
82
+ backend:
83
+ service:
84
+ name: uploads-service
85
+ port:
86
+ number: 80
87
88
+apiVersion: cloud.google.com/v1
89
+kind: BackendConfig
90
91
+ name: uploads-backendconfig
92
93
+ timeoutSec: 86400
94
+ connectionDraining:
95
+ drainingTimeoutSec: 300
96
+ customRequestHeaders:
97
+ headers:
98
+ - "X-Client-Proto:https"
0 commit comments