File tree 1 file changed +119
-0
lines changed
1 file changed +119
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ labels :
5
+ app : manager
6
+ name : manager
7
+ namespace : redis
8
+ spec :
9
+ replicas : 1
10
+ selector :
11
+ matchLabels :
12
+ app : manager
13
+ template :
14
+ metadata :
15
+ labels :
16
+ app : manager
17
+ spec :
18
+ containers :
19
+ - command :
20
+ - /app/admin
21
+ - --configdir=/app/config
22
+ image : tongduncloud/td-redis-manager:latest
23
+ imagePullPolicy : Always
24
+ name : manager
25
+ resources : {}
26
+ terminationMessagePath : /dev/termination-log
27
+ terminationMessagePolicy : File
28
+ volumeMounts :
29
+ - mountPath : /app/config
30
+ name : config
31
+ - image : tongduncloud/td-redis-operator-ui:latest
32
+ imagePullPolicy : Always
33
+ name : manager-ui
34
+ resources : {}
35
+ terminationMessagePath : /dev/termination-log
36
+ terminationMessagePolicy : File
37
+ dnsPolicy : ClusterFirst
38
+ restartPolicy : Always
39
+ schedulerName : default-scheduler
40
+ securityContext : {}
41
+ serviceAccount : admin
42
+ serviceAccountName : admin
43
+ terminationGracePeriodSeconds : 30
44
+ volumes :
45
+ - configMap :
46
+ defaultMode : 420
47
+ name : manager
48
+ name : config
49
+
50
+ ---
51
+ apiVersion : v1
52
+ kind : Service
53
+ metadata :
54
+ name : manager
55
+ namespace : redis
56
+ spec :
57
+ ports :
58
+ - port : 8088
59
+ protocol : TCP
60
+ targetPort : 8088
61
+ selector :
62
+ app : manager
63
+ sessionAffinity : None
64
+ type : NodePort
65
+
66
+ ---
67
+ apiVersion : v1
68
+ data :
69
+ config.yaml : |
70
+ namespace: redis
71
+ standbyimage: tongduncloud/redis-standby:1.0
72
+ sentiimage: tongduncloud/sentinel-standby:latest
73
+ clusterimage: tongduncloud/redis-cluster:0.2
74
+ proxyimage: tongduncloud/predixy:1.0
75
+ redissecret: 123
76
+ vip: 192.168.0.1
77
+ monitorimage: tongduncloud/redis-exporter:1.0
78
+ kind : ConfigMap
79
+ metadata :
80
+ name : manager
81
+ namespace : redis
82
+
83
+ ---
84
+ apiVersion : rbac.authorization.k8s.io/v1
85
+ kind : ClusterRole
86
+ metadata :
87
+ name : admin-cluster
88
+ rules :
89
+ - apiGroups :
90
+ - ' *'
91
+ resources :
92
+ - ' *'
93
+ verbs :
94
+ - ' *'
95
+ - nonResourceURLs :
96
+ - ' *'
97
+ verbs :
98
+ - ' *'
99
+
100
+ ---
101
+ apiVersion : rbac.authorization.k8s.io/v1
102
+ kind : ClusterRoleBinding
103
+ metadata :
104
+ name : admin-cluster
105
+ roleRef :
106
+ apiGroup : rbac.authorization.k8s.io
107
+ kind : ClusterRole
108
+ name : admin-cluster
109
+ subjects :
110
+ - kind : ServiceAccount
111
+ name : admin
112
+ namespace : redis
113
+
114
+ ---
115
+ apiVersion : v1
116
+ kind : ServiceAccount
117
+ metadata :
118
+ name : admin
119
+ namespace : redis
You can’t perform that action at this time.
0 commit comments