Skip to content

Commit 7d1a394

Browse files
committed
update k8s files
1 parent 84cd181 commit 7d1a394

File tree

6 files changed

+9
-117
lines changed

6 files changed

+9
-117
lines changed

deploy/all-in-one.yaml

Lines changed: 5 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -96,48 +96,6 @@ spec:
9696
---
9797
apiVersion: v1
9898
kind: Service
99-
metadata:
100-
name: vanus-controller-0
101-
namespace: vanus
102-
spec:
103-
ports:
104-
- name: grpc
105-
nodePort: 32000
106-
port: 2048
107-
selector:
108-
statefulset.kubernetes.io/pod-name: vanus-controller-0
109-
type: NodePort
110-
---
111-
apiVersion: v1
112-
kind: Service
113-
metadata:
114-
name: vanus-controller-1
115-
namespace: vanus
116-
spec:
117-
ports:
118-
- name: grpc
119-
nodePort: 32001
120-
port: 2048
121-
selector:
122-
statefulset.kubernetes.io/pod-name: vanus-controller-1
123-
type: NodePort
124-
---
125-
apiVersion: v1
126-
kind: Service
127-
metadata:
128-
name: vanus-controller-2
129-
namespace: vanus
130-
spec:
131-
ports:
132-
- name: grpc
133-
nodePort: 32002
134-
port: 2048
135-
selector:
136-
statefulset.kubernetes.io/pod-name: vanus-controller-2
137-
type: NodePort
138-
---
139-
apiVersion: v1
140-
kind: Service
14199
metadata:
142100
name: vanus-gateway
143101
namespace: vanus
@@ -177,16 +135,14 @@ spec:
177135
app: vanus-gateway
178136
spec:
179137
containers:
180-
- image: public.ecr.aws/vanus/gateway:v0.0.5
138+
- image: public.ecr.aws/vanus/gateway:v0.1.0
181139
imagePullPolicy: IfNotPresent
182140
name: gateway
183141
ports:
184142
- containerPort: 8080
185143
name: httpput
186144
- containerPort: 8081
187145
name: httpget
188-
- containerPort: 8082
189-
name: ctrl-proxy
190146
volumeMounts:
191147
- mountPath: /vanus/config
192148
name: config-gateway
@@ -220,7 +176,7 @@ spec:
220176
valueFrom:
221177
fieldRef:
222178
fieldPath: status.podIP
223-
image: public.ecr.aws/vanus/trigger:v0.0.5
179+
image: public.ecr.aws/vanus/trigger:v0.1.0
224180
imagePullPolicy: IfNotPresent
225181
livenessProbe:
226182
failureThreshold: 3
@@ -270,7 +226,7 @@ spec:
270226
valueFrom:
271227
fieldRef:
272228
fieldPath: status.podIP
273-
image: public.ecr.aws/vanus/controller:v0.0.5
229+
image: public.ecr.aws/vanus/controller:v0.1.0
274230
imagePullPolicy: IfNotPresent
275231
livenessProbe:
276232
failureThreshold: 3
@@ -328,15 +284,15 @@ spec:
328284
- command:
329285
- /bin/sh
330286
- -c
331-
- export VOLUME_ID=${HOSTNAME##*-}; /vanus/bin/store
287+
- VOLUME_ID=${HOSTNAME##*-} /vanus/bin/store
332288
env:
333289
- name: VANUS_LOG_LEVEL
334290
value: DEBUG
335291
- name: POD_IP
336292
valueFrom:
337293
fieldRef:
338294
fieldPath: status.podIP
339-
image: public.ecr.aws/vanus/store:v0.0.5
295+
image: public.ecr.aws/vanus/store:v0.1.0
340296
imagePullPolicy: IfNotPresent
341297
livenessProbe:
342298
failureThreshold: 3

deploy/yaml/controller.yaml

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -57,48 +57,6 @@ spec:
5757
- port: 2048
5858
name: vanus-controller
5959
---
60-
apiVersion: v1
61-
kind: Service
62-
metadata:
63-
name: vanus-controller-0
64-
namespace: vanus
65-
spec:
66-
selector:
67-
statefulset.kubernetes.io/pod-name: vanus-controller-0
68-
type: NodePort
69-
ports:
70-
- port: 2048
71-
nodePort: 32000
72-
name: grpc
73-
---
74-
apiVersion: v1
75-
kind: Service
76-
metadata:
77-
name: vanus-controller-1
78-
namespace: vanus
79-
spec:
80-
selector:
81-
statefulset.kubernetes.io/pod-name: vanus-controller-1
82-
type: NodePort
83-
ports:
84-
- port: 2048
85-
nodePort: 32001
86-
name: grpc
87-
---
88-
apiVersion: v1
89-
kind: Service
90-
metadata:
91-
name: vanus-controller-2
92-
namespace: vanus
93-
spec:
94-
selector:
95-
statefulset.kubernetes.io/pod-name: vanus-controller-2
96-
type: NodePort
97-
ports:
98-
- port: 2048
99-
nodePort: 32002
100-
name: grpc
101-
---
10260
apiVersion: apps/v1
10361
kind: StatefulSet
10462
metadata:
@@ -130,7 +88,7 @@ spec:
13088
spec:
13189
containers:
13290
- name: controller
133-
image: public.ecr.aws/vanus/controller:v0.0.5
91+
image: public.ecr.aws/vanus/controller:v0.1.0
13492
imagePullPolicy: IfNotPresent
13593
livenessProbe:
13694
grpc:

deploy/yaml/gateway.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
spec:
6868
containers:
6969
- name: gateway
70-
image: public.ecr.aws/vanus/gateway:13101e9
70+
image: public.ecr.aws/vanus/gateway:v0.1.0
7171
imagePullPolicy: IfNotPresent
7272
ports:
7373
- name: httpput

deploy/yaml/store.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
spec:
6262
containers:
6363
- name: store
64-
image: public.ecr.aws/vanus/store:v0.0.5
64+
image: public.ecr.aws/vanus/store:v0.1.0
6565
imagePullPolicy: IfNotPresent
6666
command: ["/bin/sh", "-c", "VOLUME_ID=${HOSTNAME##*-} /vanus/bin/store"]
6767
livenessProbe:

deploy/yaml/trigger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
spec:
4646
containers:
4747
- name: trigger
48-
image: public.ecr.aws/vanus/trigger:v0.0.5
48+
image: public.ecr.aws/vanus/trigger:v0.1.0
4949
imagePullPolicy: IfNotPresent
5050
livenessProbe:
5151
grpc:

deploy/yaml/vsctl.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)