Skip to content

Commit

Permalink
Add manifests for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ssup2 committed Mar 25, 2021
1 parent 451b9e4 commit 93156e5
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/manifests/nginx-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
selector:
matchLabels:
run: nginx
replicas: 3
template:
metadata:
labels:
run: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
20 changes: 20 additions & 0 deletions test/manifests/nginx-svc-ipv4-ipv6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-ipv4-ipv6
namespace: default
spec:
externalTrafficPolicy: Local
externalIPs:
- 192.168.100.2
- fddd::2
ipFamilies:
- IPv4
- IPv6
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx
type: LoadBalancer
18 changes: 18 additions & 0 deletions test/manifests/nginx-svc-ipv4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-ipv4
namespace: default
spec:
externalTrafficPolicy: Local
externalIPs:
- 192.168.100.1
ipFamilies:
- IPv4
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx
type: LoadBalancer
18 changes: 18 additions & 0 deletions test/manifests/nginx-svc-ipv6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-ipv6
namespace: default
spec:
externalTrafficPolicy: Local
externalIPs:
- fddd::1
ipFamilies:
- IPv6
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx
type: LoadBalancer

0 comments on commit 93156e5

Please sign in to comment.