I am trying to figure out how to modify the quick start example to use a storageclass #4959
Replies: 2 comments 8 replies
-
You can read all about storage configuration in the docs: https://strimzi.io/docs/operators/latest/full/using.html#assembly-storage-str ... in particular, you can use the |
Beta Was this translation helpful? Give feedback.
-
Hi. So I have an application running in the default namespace.. its trying to connect to the kafka in the kafka namespace.. I am using the following broker address (since its what I saw the sample consumer using: my-cluster-kafka-bootstrap:9092 I have no problem using the sample producer and consumer: Yet I dont seem to be able to connect to the broker with my app. The only thing that I can imagine is that I need a different service given that they are in different namespaces. This application (running in a virtualbox VM) has no problem connecting to a broker running in a separate virtualbox VM. In that case I use the following broker address: 192.168.56.102:9092 Suggestions?
|
Beta Was this translation helpful? Give feedback.
-
My storage class is seen below "rook-nfs-share1"
Typically the way that I would define a PVC that uses this storage class I would to the following:
Then I'd reference that as follows:
The strmzi example for establishing a single node kafka is as follows:
This example references a storage type "jbod", in addition to a type persistent-claim. However it does not seem to allow me to specify a storage class or a named PVC. When I use this the cluster never starts since it pends on the binding of a PVC.
How would I modify this to reference a PVC (or perhaps 2 PVC's - one for zookeeper) such as rook-nfs-pv-claim above, that uses my storage class rook-nfs-share1?
Beta Was this translation helpful? Give feedback.
All reactions