Comments (7)
Is there a way to pass the IP address of the Broker, Zookeeper and Bookkeeper services when installing?
Do you mean advertising host IP address?
I would not mind for a presto deployment example using charts!
Sure. We are adding that.
from charts.
Do you mean advertising host IP address?
bin/pulsar initialize-cluster-metadata \
--cluster eastus2 \
--zookeeper 10.0.66.107:2181 \
--configuration-store 10.0.66.107:2181 \
--web-service-url http://10.0.237.95:8080/ \
--broker-service-url pulsar://10.0.237.95:6650/ || true;
For me to achieve this I had to first create services and then copied the IP which helped in solving the issue I had using proxy.
I want this process automated and one of the things I tried was:
--zookeeper {{ (index (lookup "v1" "Service" "mynamespace" "myservice").status.loadBalancer.ingress 0).ip }}
And
--zookeeper {{ (lookup "v1" "Service" "namespace" "service name").spec.clusterIP }}
In both cases I got nil exception
from charts.
To deploy presto, I have this:
bin/apply-config-from-env.py conf/presto/config.properties
bin/apply-config-from-env.py conf/presto/catalog/pulsar.properties
bin/pulsar sql-worker run
I get this error:
File "bin/apply-config-from-env.py", line 50, in <module>
k,v = line.split('=', 1)
ValueError: need more than 1 value to unpack
from charts.
For me to achieve this I had to first create services and then copied the IP which helped in solving the issue I had using the proxy.
I don't quite understand the motivation here. the initialize cluster metadata job just needs to run once and the options --zookeeper <zk> --configuration-store <zk>
are used to point to the zookeeper cluster. The initialize task can run in the same k8s cluster along with zookeeper cluster,r so you can just the headless service of zookeeper cluster.
The web service URLs are only needed if you want to set up geo-replication. You can modify it by using bin/pulsar-admin clusters update
to update those web service URLs. If you are installing a cluster using this helm, you can get the IP address of the proxy service and then using a separate task to update the cluster config.
bin/apply-config-from-env.py conf/presto/config.properties
For deploying presto, I don't think apply-config-from-env.py
work for the presto config at this moment. Feel free to create an issue here. We can add one for you.
from charts.
There isn't just enough detail in the documentation about this.
from charts.
The web service URLs are only needed if you want to set up geo-replication. You can modify it by using bin/pulsar-admin clusters update to update those web service URLs. If you are installing a cluster using this helm, you can get the IP address of the proxy service and then using a separate task to update the cluster config.
Can you show how this is done?
from charts.
@eaba you can use this command to update cluster config : http://pulsar.apache.org/docs/en/admin-api-clusters/#pulsar-admin-2
from charts.
Related Issues (20)
- [pulsar-operator] Release v0.16.4
- [sn-platform] Remove the presto config `pulsar.managed-ledger-num-worker-threads`
- sn-platform-streamnative-console failed to initialize as /pulsar-manager/gateway/gateway-entrypoint.sh not found HOT 5
- Pulsar Operator: PulsarProxy is not able configure correct Liveness check for WebSocket HOT 3
- Toolset initContainer busybox crash
- Busybox cli not work in toolset
- Pulsarctl config can't be loaded
- Improve logic when jwt and vault enabled both
- [pulsar-operator]Fix rbac issue when watching specific namespace
- upgrade pulsar image to 3.0
- Wrong namespace for RBAC and clusterrole with multi-namespace
- [sn-platform][fix]: toolset.kafka container doesn't support non-root user
- [charts/sn-platform] pulsar detector only support "token" auth in template. HOT 1
- [pulsar-operator] how to set different kafkaAdvertisedListeners for different pulsar broker pod
- [sn-platform] Support migrate from non-Istio to Istio
- fix: detector missed the resources limit on the server container.
- feat: support some extra configures on the detector
- [sn-platform] Avoid downloading in Job jwt-secret-init
- Can't specify imagePullSecret for jwt init job
- Support setting the resources for the backup service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.