mirror of https://github.com/milvus-io/milvus.git
Enhanced etcd resource QoS in e2e test (#6957)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/6961/head^2
parent
87c5a49d9a
commit
1be963acdc
|
@ -60,6 +60,7 @@ pipeline {
|
|||
./e2e-k8s.sh \
|
||||
--node-image registry.zilliz.com/kindest/node:v1.20.2 \
|
||||
--kind-config "${env.WORKSPACE}/build/config/topology/trustworthy-jwt-ci.yaml" \
|
||||
--install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \
|
||||
--skip-export-logs \
|
||||
--skip-cleanup \
|
||||
--test-extra-arg "--tags=smoke" \
|
||||
|
@ -73,6 +74,7 @@ pipeline {
|
|||
--skip-export-logs \
|
||||
--skip-cleanup \
|
||||
--kind-config "${env.WORKSPACE}/build/config/topology/trustworthy-jwt-ci.yaml" \
|
||||
--install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \
|
||||
--test-extra-arg "--tags L0 L1" \
|
||||
--test-timeout ${e2e_timeout_seconds}
|
||||
"""
|
||||
|
|
|
@ -68,6 +68,7 @@ pipeline {
|
|||
./e2e-k8s.sh \
|
||||
--kind-config "${env.WORKSPACE}/build/config/topology/trustworthy-jwt-ci.yaml" \
|
||||
--node-image registry.zilliz.com/kindest/node:v1.20.2 \
|
||||
--install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \
|
||||
--skip-export-logs \
|
||||
--skip-cleanup \
|
||||
--test-timeout ${e2e_timeout_seconds}
|
||||
|
@ -78,6 +79,7 @@ pipeline {
|
|||
./e2e-k8s.sh \
|
||||
--kind-config "${env.WORKSPACE}/build/config/topology/trustworthy-jwt-ci.yaml" \
|
||||
--node-image registry.zilliz.com/kindest/node:v1.20.2 \
|
||||
--install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \
|
||||
--skip-export-logs \
|
||||
--skip-cleanup \
|
||||
--test-extra-arg "--tags L0 L1 L2" \
|
||||
|
|
|
@ -12,6 +12,10 @@ spec:
|
|||
value: "true"
|
||||
- name: DOCKER_VOLUME_DIRECTORY
|
||||
value: "/mnt/disk/.docker"
|
||||
- name: KRTE_POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
securityContext:
|
||||
privileged: true
|
||||
tty: true
|
||||
|
@ -38,6 +42,20 @@ spec:
|
|||
- mountPath: /mnt/disk/.docker
|
||||
name: build-cache
|
||||
subPath: docker-volume
|
||||
- name: etcd
|
||||
image: quay.io/coreos/etcd:v3.4.13
|
||||
command:
|
||||
- etcd
|
||||
- -advertise-client-urls=http://127.0.0.1:2379
|
||||
- -listen-client-urls=http://0.0.0.0:2379
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1Gi"
|
||||
ports:
|
||||
- containerPort: 2379
|
||||
name: client
|
||||
protocol: TCP
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: docker-graph
|
||||
|
|
Loading…
Reference in New Issue