GitHub user piemon-nyah closed the discussion with a comment: pulsarv3-recovery
always fails when executing pulsar-bookkeeper-verify-clusterid
Resolved after adjusting resources
```yaml
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:
```
GitHub link:
https://github.com/apache/pulsar/discussions/24255#discussioncomment-13056963
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]