|
1 |
| -apiVersion: v1 |
2 |
| -kind: Service |
3 | 1 | metadata:
|
4 | 2 | name: imaster-svc
|
5 | 3 | labels:
|
@@ -61,7 +59,7 @@ metadata:
|
61 | 59 | spec:
|
62 | 60 | serviceName: iworker-svc
|
63 | 61 | podManagementPolicy: Parallel
|
64 |
| - replicas: 3 |
| 62 | + replicas: 14 |
65 | 63 | selector:
|
66 | 64 | matchLabels:
|
67 | 65 | app: iworker-pod
|
@@ -116,7 +114,7 @@ spec:
|
116 | 114 | - name: iclientnum-ctr
|
117 | 115 | image: qserv/indexclientnum:dev
|
118 | 116 | imagePullPolicy: Always
|
119 |
| - args: ["1000000", "1", "client-k8s-a1.cnf"] |
| 117 | + args: ["10000000", "1", "client-k8s-a1.cnf"] |
120 | 118 | ports:
|
121 | 119 | - containerPort: 10050
|
122 | 120 | protocol: UDP
|
@@ -157,7 +155,7 @@ spec:
|
157 | 155 | - name: iclientnum2-ctr
|
158 | 156 | image: qserv/indexclientnum:dev
|
159 | 157 | imagePullPolicy: Always
|
160 |
| - args: ["2000001", "3000001", "client-k8s-a2.cnf"] |
| 158 | + args: ["20000001", "30000001", "client-k8s-a2.cnf"] |
161 | 159 | ports:
|
162 | 160 | - containerPort: 10050
|
163 | 161 | protocol: UDP
|
@@ -198,9 +196,218 @@ spec:
|
198 | 196 | - name: iclientnum3-ctr
|
199 | 197 | image: qserv/indexclientnum:dev
|
200 | 198 | imagePullPolicy: Always
|
201 |
| - args: ["1000001", "2000000", "client-k8s-a3.cnf"] |
| 199 | + args: ["10000001", "20000000", "client-k8s-a3.cnf"] |
| 200 | + ports: |
| 201 | + - containerPort: 10050 |
| 202 | + protocol: UDP |
| 203 | + |
| 204 | +--- |
| 205 | +apiVersion: v1 |
| 206 | +kind: Service |
| 207 | +metadata: |
| 208 | + name: iclientnum4-svc |
| 209 | + labels: |
| 210 | + app: index |
| 211 | +spec: |
| 212 | + ports: |
| 213 | + - port: 10050 |
| 214 | + protocol: UDP |
| 215 | + clusterIP: None |
| 216 | + selector: |
| 217 | + app: iclientnum4-pod |
| 218 | +--- |
| 219 | +apiVersion: apps/v1 |
| 220 | +kind: StatefulSet |
| 221 | +metadata: |
| 222 | + name: iclientnum4-sts |
| 223 | + labels: |
| 224 | + app: index |
| 225 | +spec: |
| 226 | + serviceName: iclientnum4-svc |
| 227 | + podManagementPolicy: Parallel |
| 228 | + replicas: 1 |
| 229 | + selector: |
| 230 | + matchLabels: |
| 231 | + app: iclientnum4-pod |
| 232 | + template: |
| 233 | + metadata: |
| 234 | + labels: |
| 235 | + app: iclientnum4-pod |
| 236 | + spec: |
| 237 | + containers: |
| 238 | + - name: iclientnum3-ctr |
| 239 | + image: qserv/indexclientnum:dev |
| 240 | + imagePullPolicy: Always |
| 241 | + args: ["40000001", "50000000", "client-k8s-a1.cnf"] |
202 | 242 | ports:
|
203 | 243 | - containerPort: 10050
|
204 |
| - protocol: UDP |
| 244 | + protocol: UDP |
205 | 245 |
|
| 246 | +--- |
| 247 | +apiVersion: v1 |
| 248 | +kind: Service |
| 249 | +metadata: |
| 250 | + name: iclientnum5-svc |
| 251 | + labels: |
| 252 | + app: index |
| 253 | +spec: |
| 254 | + ports: |
| 255 | + - port: 10050 |
| 256 | + protocol: UDP |
| 257 | + clusterIP: None |
| 258 | + selector: |
| 259 | + app: iclientnum5-pod |
| 260 | +--- |
| 261 | +apiVersion: apps/v1 |
| 262 | +kind: StatefulSet |
| 263 | +metadata: |
| 264 | + name: iclientnum5-sts |
| 265 | + labels: |
| 266 | + app: index |
| 267 | +spec: |
| 268 | + serviceName: iclientnum5-svc |
| 269 | + podManagementPolicy: Parallel |
| 270 | + replicas: 1 |
| 271 | + selector: |
| 272 | + matchLabels: |
| 273 | + app: iclientnum5-pod |
| 274 | + template: |
| 275 | + metadata: |
| 276 | + labels: |
| 277 | + app: iclientnum5-pod |
| 278 | + spec: |
| 279 | + containers: |
| 280 | + - name: iclientnum5-ctr |
| 281 | + image: qserv/indexclientnum:dev |
| 282 | + imagePullPolicy: Always |
| 283 | + args: ["50000001", "60000000", "client-k8s-a1.cnf"] |
| 284 | + ports: |
| 285 | + - containerPort: 10050 |
| 286 | + protocol: UDP |
| 287 | + |
| 288 | +--- |
| 289 | +apiVersion: v1 |
| 290 | +kind: Service |
| 291 | +metadata: |
| 292 | + name: iclientnum6-svc |
| 293 | + labels: |
| 294 | + app: index |
| 295 | +spec: |
| 296 | + ports: |
| 297 | + - port: 10050 |
| 298 | + protocol: UDP |
| 299 | + clusterIP: None |
| 300 | + selector: |
| 301 | + app: iclientnum6-pod |
| 302 | +--- |
| 303 | +apiVersion: apps/v1 |
| 304 | +kind: StatefulSet |
| 305 | +metadata: |
| 306 | + name: iclientnum6-sts |
| 307 | + labels: |
| 308 | + app: index |
| 309 | +spec: |
| 310 | + serviceName: iclientnum6-svc |
| 311 | + podManagementPolicy: Parallel |
| 312 | + replicas: 1 |
| 313 | + selector: |
| 314 | + matchLabels: |
| 315 | + app: iclientnum6-pod |
| 316 | + template: |
| 317 | + metadata: |
| 318 | + labels: |
| 319 | + app: iclientnum6-pod |
| 320 | + spec: |
| 321 | + containers: |
| 322 | + - name: iclientnum6-ctr |
| 323 | + image: qserv/indexclientnum:dev |
| 324 | + imagePullPolicy: Always |
| 325 | + args: ["60000001", "70000000", "client-k8s-a1.cnf"] |
| 326 | + ports: |
| 327 | + - containerPort: 10050 |
| 328 | + protocol: UDP |
| 329 | + |
| 330 | +--- |
| 331 | +apiVersion: v1 |
| 332 | +kind: Service |
| 333 | +metadata: |
| 334 | + name: iclientnum7-svc |
| 335 | + labels: |
| 336 | + app: index |
| 337 | +spec: |
| 338 | + ports: |
| 339 | + - port: 10050 |
| 340 | + protocol: UDP |
| 341 | + clusterIP: None |
| 342 | + selector: |
| 343 | + app: iclientnum7-pod |
| 344 | +--- |
| 345 | +apiVersion: apps/v1 |
| 346 | +kind: StatefulSet |
| 347 | +metadata: |
| 348 | + name: iclientnum7-sts |
| 349 | + labels: |
| 350 | + app: index |
| 351 | +spec: |
| 352 | + serviceName: iclientnum7-svc |
| 353 | + podManagementPolicy: Parallel |
| 354 | + replicas: 1 |
| 355 | + selector: |
| 356 | + matchLabels: |
| 357 | + app: iclientnum7-pod |
| 358 | + template: |
| 359 | + metadata: |
| 360 | + labels: |
| 361 | + app: iclientnum7-pod |
| 362 | + spec: |
| 363 | + containers: |
| 364 | + - name: iclientnum7-ctr |
| 365 | + image: qserv/indexclientnum:dev |
| 366 | + imagePullPolicy: Always |
| 367 | + args: ["70000001", "80000000", "client-k8s-a1.cnf"] |
| 368 | + ports: |
| 369 | + - containerPort: 10050 |
| 370 | + protocol: UDP |
| 371 | + |
| 372 | +--- |
| 373 | +apiVersion: v1 |
| 374 | +kind: Service |
| 375 | +metadata: |
| 376 | + name: iclientnum8-svc |
| 377 | + labels: |
| 378 | + app: index |
| 379 | +spec: |
| 380 | + ports: |
| 381 | + - port: 10050 |
| 382 | + protocol: UDP |
| 383 | + clusterIP: None |
| 384 | + selector: |
| 385 | + app: iclientnum8-pod |
| 386 | +--- |
| 387 | +apiVersion: apps/v1 |
| 388 | +kind: StatefulSet |
| 389 | +metadata: |
| 390 | + name: iclientnum8-sts |
| 391 | + labels: |
| 392 | + app: index |
| 393 | +spec: |
| 394 | + serviceName: iclientnum8-svc |
| 395 | + podManagementPolicy: Parallel |
| 396 | + replicas: 1 |
| 397 | + selector: |
| 398 | + matchLabels: |
| 399 | + app: iclientnum8-pod |
| 400 | + template: |
| 401 | + metadata: |
| 402 | + labels: |
| 403 | + app: iclientnum8-pod |
| 404 | + spec: |
| 405 | + containers: |
| 406 | + - name: iclientnum8-ctr |
| 407 | + image: qserv/indexclientnum:dev |
| 408 | + imagePullPolicy: Always |
| 409 | + args: ["80000001", "90000000", "client-k8s-a1.cnf"] |
| 410 | + ports: |
| 411 | + - containerPort: 10050 |
| 412 | + protocol: UDP |
206 | 413 |
|
0 commit comments