add janky egress test (it fails even when it is successful )

This commit is contained in:
Aaron Riedel 2023-02-10 23:08:06 +01:00
parent 99840b86b0
commit 19349cf424
Signed by: aaron
GPG key ID: 643004654D40D577

51
test-egress.yaml Normal file
View file

@ -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']