From 19349cf424814179c7a189776270f9ee61149a86 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Fri, 10 Feb 2023 23:08:06 +0100 Subject: [PATCH] add janky egress test (it fails even when it is successful ) --- test-egress.yaml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 test-egress.yaml diff --git a/test-egress.yaml b/test-egress.yaml new file mode 100644 index 0000000..328b596 --- /dev/null +++ b/test-egress.yaml @@ -0,0 +1,51 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: egress +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: egress-deployment + namespace: kube-system + labels: + app: egress +spec: + replicas: 3 + selector: + matchLabels: + app: egress + template: + metadata: + labels: + app: egress + spec: + containers: + - name: egress + image: curlimages/curl + command: ['/usr/bin/curl'] + args: ['-s', '-L', '-4', 'ip.hetzner.com'] +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: egress6-deployment + namespace: kube-system + labels: + app: egress6 +spec: + replicas: 3 + selector: + matchLabels: + app: egress6 + template: + metadata: + labels: + app: egress6 + spec: + containers: + - name: egress6 + image: curlimages/curl + command: ['/usr/bin/curl'] + args: ['-s', '-L', '-6', 'ip.hetzner.com'] \ No newline at end of file