add janky egress test (it fails even when it is successful )
This commit is contained in:
parent
99840b86b0
commit
19349cf424
1 changed files with 51 additions and 0 deletions
51
test-egress.yaml
Normal file
51
test-egress.yaml
Normal 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']
|
Loading…
Reference in a new issue