pulsarv3-recovery always fails when executing pulsar-bookkeeper-verify-clusterid #24255
Replies: 1 comment
-
|
Resolved after adjusting resources apiVersion: apps/v1
kind: StatefulSet
metadata:
name: "it-milvus-pulsarv3-recovery"
namespace: it-milvus-test
labels:
app: pulsarv3
chart: pulsarv3-3.3.0
release: it-milvus
heritage: Helm
cluster: it-milvus-pulsarv3
component: recovery
spec:
serviceName: "it-milvus-pulsarv3-recovery"
replicas: 1
updateStrategy:
type: RollingUpdate
podManagementPolicy: Parallel
# nodeSelector:
selector:
matchLabels:
app: pulsarv3
release: it-milvus
component: recovery
template:
metadata:
labels:
app: pulsarv3
release: it-milvus
cluster: it-milvus-pulsarv3
component: recovery
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8000"
spec:
affinity:
terminationGracePeriodSeconds: 30
serviceAccountName: "it-milvus-pulsarv3-recovery"
initContainers:
# This initContainer will wait for bookkeeper initnewcluster to complete
# before deploying the bookies
- name: pulsar-bookkeeper-verify-clusterid
image: "apachepulsar/pulsar:3.0.7"
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 0.1
memory: 128Mi
command: ["sh", "-c"]
args:
- >
bin/apply-config-from-env.py conf/bookkeeper.conf;until bin/bookkeeper shell whatisinstanceid; do
sleep 3;
done;
envFrom:
- configMapRef:
name: "it-milvus-pulsarv3-recovery"
volumeMounts:
containers:
- name: "it-milvus-pulsarv3-recovery"
image: "apachepulsar/pulsar:3.0.7"
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 0.2
memory: 256Mi
requests:
cpu: 0.2
memory: 256Mi
command: ["sh", "-c"]
args:
- >
bin/apply-config-from-env.py conf/bookkeeper.conf;
OPTS="${OPTS} -Dlog4j2.formatMsgNoLookups=true" exec bin/bookkeeper autorecovery
ports:
- name: http
containerPort: 8000
envFrom:
- configMapRef:
name: "it-milvus-pulsarv3-recovery"
volumeMounts:
volumes: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
question
pulsarv3-recovery always fails when executing pulsar-bookkeeper-verify-clusterid. pulsarv3-bookie, which also uses the pulsar-bookkeeper-verify-clusterid task, has no problem.
version
pulsar:3.0.7
pulsar chart: 3.3.0
pulsarv3-recovery yaml
pulsarv3-recovery error log
pulsarv3-bookie yaml
pulsarv3-bookie normal log
Beta Was this translation helpful? Give feedback.
All reactions