Skip to content

Commit 90b7784

Browse files
authored
Merge pull request #606 from gefyrahq/fix-nginx
chore: update proxy_cache_path in carrier nginx config
2 parents b3a47cd + 0ec3391 commit 90b7784

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

carrier/gefyra-carrier.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ http {
1818
scgi_temp_path /tmp/scgi;
1919
uwsgi_temp_path /tmp/uwsgi;
2020
fastcgi_temp_path /tmp/fastcgi;
21-
proxy_cache_path /tmp keys_zone=my_zone:10m inactive=8h;
21+
proxy_cache_path /tmp/proxy_cache keys_zone=my_zone:10m inactive=8h;
2222
#HTTPMARKER
2323
}

client/tests/e2e/base.py

+4
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ def test_d_run_gefyra_bridge_with_deployment(self):
628628
run(**run_params)
629629
res = bridge(**self.default_bridge_params)
630630
self.assertTrue(res)
631+
self.assert_deployment_ready(
632+
self.default_bridge_params["namespace"],
633+
name="hello-nginxdemo",
634+
)
631635

632636
def test_e_run_gefyra_status_check_containers_and_bridge(self):
633637
_status = status(connection_name=CONNECTION_NAME)

testing/workloads/hello_dd.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,36 @@ spec:
3333
image: nginxdemos/hello
3434
ports:
3535
- containerPort: 80
36+
livenessProbe:
37+
failureThreshold: 10
38+
httpGet:
39+
path: /alive
40+
port: 80
41+
scheme: HTTP
42+
periodSeconds: 10
43+
successThreshold: 1
44+
timeoutSeconds: 5
45+
46+
readinessProbe:
47+
failureThreshold: 3
48+
httpGet:
49+
path: /ready
50+
port: 80
51+
scheme: HTTP
52+
initialDelaySeconds: 10
53+
periodSeconds: 10
54+
successThreshold: 1
55+
timeoutSeconds: 5
56+
57+
startupProbe:
58+
failureThreshold: 30
59+
httpGet:
60+
path: /startup
61+
port: 80
62+
scheme: HTTP
63+
periodSeconds: 10
64+
successThreshold: 1
65+
timeoutSeconds: 1
3666
---
3767
apiVersion: networking.k8s.io/v1
3868
kind: Ingress

0 commit comments

Comments
 (0)