<div dir="ltr">It definitely seems like the gluster part is added on by default. If you try this yaml, it'll result in the issue. Notice I don't add the gluster part to the front of the name, OpenShift does that.<div><div><br></div><div>apiVersion: v1</div><div>kind: PersistentVolumeClaim</div><div>metadata:</div><div> name: zookeeper-storage-strimzi-openwhisk-zookeeper-0</div><div> namespace: dh-stage-owisk2</div><div>spec:</div><div> accessModes:</div><div> - ReadWriteOnce</div><div> storageClassName: glusterfs-apps</div><div> resources:</div><div> requests:</div><div> storage: 1Gi</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 10:52 AM, Ben Browning <span dir="ltr"><<a href="mailto:bbrownin@redhat.com" target="_blank">bbrownin@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And, on our end, we can shorten "strimzi-openwhisk" (the name coming<br>
from our template) down to something quite a bit shorter. The only<br>
reason it's that long is because that's the name of the configmap<br>
defining the kafka cluster so we didn't want it to be too generic.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 6, 2018 at 10:27 AM, Jakub Scholz <<a href="mailto:jakub@scholz.cz">jakub@scholz.cz</a>> wrote:<br>
> Hi Sherard,<br>
><br>
> What we can shorten quite easily is the middle part of the name which is<br>
> "zookeeper-storage" or "kafka-storage". We can use something like "data"<br>
> instead. That should get you under 63 characters. The "glusterfs-dynamic-"<br>
> prefix is something what I assume we cannot affect. The the<br>
> "-strimzi-openwhisk-zookeeper-<wbr>0" should be the pod name. We can in theory<br>
> make that slightly shorter as well if needed. But lets start with the middle<br>
> section first. I created an issue for it<br>
> (<a href="https://github.com/strimzi/strimzi/issues/294" rel="noreferrer" target="_blank">https://github.com/strimzi/<wbr>strimzi/issues/294</a>) and will have a look at it.<br>
><br>
> Thanks & Regards<br>
> Jakub<br>
><br>
> On Tue, Mar 6, 2018 at 3:58 PM, Sherard Griffin <<a href="mailto:shgriffi@redhat.com">shgriffi@redhat.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> I'm trying to deploy an OpenWhisk project in OpenShift that uses Strimzi.<br>
>> I'm running into issues with the zookeeper PV. Because I'm using GlusterFS,<br>
>> the name gets too long and the PV can't be created. Can this be addressed?<br>
>><br>
>> error: Invalid value:<br>
>> "glusterfs-dynamic-zookeeper-<wbr>storage-strimzi-openwhisk-<wbr>zookeeper-0": must be<br>
>> no more than 63 characters<br>
>><br>
>> --<br>
>> Thanks,<br>
>> Sherard Griffin<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Strimzi mailing list<br>
>> <a href="mailto:Strimzi@redhat.com">Strimzi@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/strimzi" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/strimzi</a><br>
>><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,</div><div>Sherard Griffin</div></div></div>
</div>