-
Notifications
You must be signed in to change notification settings - Fork 1
/
web-rc-v4v6.yaml
53 lines (52 loc) · 1008 Bytes
/
web-rc-v4v6.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: web-rc-v4v6
name: web-rc-v4v6
spec:
replicas: 1
template:
metadata:
labels:
name: web-rc-v4v6
type: test
spec:
containers:
- image: quay.io/hongli/nginx-alpine
name: nginx
- apiVersion: v1
kind: Service
metadata:
labels:
name: service-secure
name: service-secure
spec:
### PreferDualStack or RequireDualStack
ipFamilyPolicy: PreferDualStack
ports:
- name: https
port: 27443
protocol: TCP
targetPort: 8443
selector:
type: test
- apiVersion: v1
kind: Service
metadata:
labels:
name: service-unsecure
name: service-unsecure
spec:
### PreferDualStack or RequireDualStack
ipFamilyPolicy: PreferDualStack
ports:
- name: http
port: 27017
protocol: TCP
targetPort: 8080
selector:
type: test