From shabeer22vsb at gmail.com Wed Apr 1 07:27:56 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Wed, 1 Apr 2020 09:27:56 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Jakub, Please help to clarify below questions. Thanks We went through the documentation and came up with the following options for updating the base image. Could you please suggest the best option and answer the queries below? 1) Option 1: Update the base image Dockerfile below with the new image and build the images https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base 2) Option 2: Use the experimental feature mentioned in the document of using ALTERNATE_BASE variable. Could you please let me know the location for this directory ? Is it under docker-images directory? What are the contents expected in this directory? ? Dockerfile and Makefile? Regards, Shabeer On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: > I think that if you want to do this, you will need to get the source, > modify the Dockerfiles and build the images from source. You cannot just > replace a base image of existing container image. If you really wanna do > it, you can read here more about how to do it: > https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md > > Thanks & Regards > Jakub > > On Wed, Mar 25, 2020 at 11:43 AM shabeer wrote: > >> Hi team, >> >> Please help with below, >> >> We need to use custom rhel image for strimzi openshift operatorand the >> rhel image is already in jfrog private artifactory.please help with the >> steps.thanks >> _______________________________________________ >> Strimzi mailing list >> Strimzi at redhat.com >> https://www.redhat.com/mailman/listinfo/strimzi >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakub at scholz.cz Wed Apr 1 18:57:34 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Wed, 1 Apr 2020 20:57:34 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Shabeer, I think it depends on you. Both options should IMHO lead to the same outcome. It is long time since I used the ALTERNATE_BASE feature. So I do not remember the details anymore. But I think the directory can be anywhere. Also please keep in mind that the base image is not freely interchangeable - so you need to test it whether what you need to do actually works or not. Thanks & Regards Jakub On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: > Hi Jakub, > > Please help to clarify below questions. Thanks > > We went through the documentation and came up with the following options > for updating the base image. Could you please suggest the best option and > answer the queries below? > > > > 1) Option 1: Update the base image Dockerfile below with the new > image and build the images > > > https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base > > > > 2) Option 2: Use the experimental feature mentioned in the document > of using ALTERNATE_BASE variable. > > Could you please let me know the location for this directory ? Is it under > docker-images directory? > > What are the contents expected in this directory? ? Dockerfile and > Makefile? > > > Regards, > > Shabeer > > On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: > >> I think that if you want to do this, you will need to get the source, >> modify the Dockerfiles and build the images from source. You cannot just >> replace a base image of existing container image. If you really wanna do >> it, you can read here more about how to do it: >> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >> >> Thanks & Regards >> Jakub >> >> On Wed, Mar 25, 2020 at 11:43 AM shabeer wrote: >> >>> Hi team, >>> >>> Please help with below, >>> >>> We need to use custom rhel image for strimzi openshift operatorand the >>> rhel image is already in jfrog private artifactory.please help with the >>> steps.thanks >>> _______________________________________________ >>> Strimzi mailing list >>> Strimzi at redhat.com >>> https://www.redhat.com/mailman/listinfo/strimzi >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Wed Apr 1 07:43:01 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Wed, 1 Apr 2020 09:43:01 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: On Wed, Apr 1, 2020, 9:27 AM shabeer wrote: > Hi Jakub, > > Please help to clarify below questions. Thanks > > We went through the documentation and came up with the following options > for updating the base image. Could you please suggest the best option and > answer the queries below? > > > > 1) Option 1: Update the base image Dockerfile below with the new > image and build the images > > > https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base > > > > 2) Option 2: Use the experimental feature mentioned in the document > of using ALTERNATE_BASE variable. > > Could you please let me know the location for this directory ? Is it under > docker-images directory? > > What are the contents expected in this directory? ? Dockerfile and > Makefile? > > > Regards, > > Shabeer > > On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: > >> I think that if you want to do this, you will need to get the source, >> modify the Dockerfiles and build the images from source. You cannot just >> replace a base image of existing container image. If you really wanna do >> it, you can read here more about how to do it: >> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >> >> Thanks & Regards >> Jakub >> >> On Wed, Mar 25, 2020 at 11:43 AM shabeer wrote: >> >>> Hi team, >>> >>> Please help with below, >>> >>> We need to use custom rhel image for strimzi openshift operatorand the >>> rhel image is already in jfrog private artifactory.please help with the >>> steps.thanks >>> _______________________________________________ >>> Strimzi mailing list >>> Strimzi at redhat.com >>> https://www.redhat.com/mailman/listinfo/strimzi >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Fri Apr 17 09:31:46 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Fri, 17 Apr 2020 11:31:46 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Jakub, I have tried to customize base image for strimzi : 1. created bse image with docker file 2. pulled all the kafka images and pushed to private repository 3.Strimzi is already running in a test cluster, Please confirm ,shall I just modify strimzi-cluster-operator yaml file with mew image path I have tried to it ,but not working . from log it says Exception in thread "main" io.strimzi.operator.common.InvalidConfigurationException: io.strimzi.operator.cluster.model.NoImageException: No image for version 2.4.0 Please see attached deployment configuration file On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: > Hi Shabeer, > > I think it depends on you. Both options should IMHO lead to the same > outcome. It is long time since I used the ALTERNATE_BASE feature. So I do > not remember the details anymore. But I think the directory can be anywhere. > > Also please keep in mind that the base image is not freely interchangeable > - so you need to test it whether what you need to do actually works or not. > > Thanks & Regards > Jakub > > > On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: > >> Hi Jakub, >> >> Please help to clarify below questions. Thanks >> >> We went through the documentation and came up with the following options >> for updating the base image. Could you please suggest the best option and >> answer the queries below? >> >> >> >> 1) Option 1: Update the base image Dockerfile below with the new >> image and build the images >> >> >> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >> >> >> >> 2) Option 2: Use the experimental feature mentioned in the document >> of using ALTERNATE_BASE variable. >> >> Could you please let me know the location for this directory ? Is it >> under docker-images directory? >> >> What are the contents expected in this directory? ? Dockerfile and >> Makefile? >> >> >> Regards, >> >> Shabeer >> >> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: >> >>> I think that if you want to do this, you will need to get the source, >>> modify the Dockerfiles and build the images from source. You cannot just >>> replace a base image of existing container image. If you really wanna do >>> it, you can read here more about how to do it: >>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>> >>> Thanks & Regards >>> Jakub >>> >>> On Wed, Mar 25, 2020 at 11:43 AM shabeer wrote: >>> >>>> Hi team, >>>> >>>> Please help with below, >>>> >>>> We need to use custom rhel image for strimzi openshift operatorand the >>>> rhel image is already in jfrog private artifactory.please help with the >>>> steps.thanks >>>> _______________________________________________ >>>> Strimzi mailing list >>>> Strimzi at redhat.com >>>> https://www.redhat.com/mailman/listinfo/strimzi >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: config file Type: application/octet-stream Size: 8786 bytes Desc: not available URL: From jakub at scholz.cz Fri Apr 17 17:59:05 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Fri, 17 Apr 2020 19:59:05 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: For which version of Strimzi are you building it? This error normally suggests that an image for this version is missing in one of the environment variables. In the Deployment you attached, I can see most of them. But I do not see the one for Mirror Maker 2. I also see the versions with some weird empty line in between and wonder if that is just something random in how the file was attached or whether this can cause some issues. Overall I would say that: * if you are on Strimzi 0.17, you are definitely missing the Mirror MAker 2 variable: https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 * If you are on some older version, it might have some issues reading the env vars due to the formatting. Thanks & Regards Jakub On Fri, Apr 17, 2020 at 11:31 AM shabeer wrote: > Hi Jakub, > > I have tried to customize base image for strimzi : > 1. created bse image with docker file > 2. pulled all the kafka images and pushed to private repository > 3.Strimzi is already running in a test cluster, Please confirm ,shall I > just modify strimzi-cluster-operator yaml file with mew image path > I have tried to it ,but not working . > from log it says Exception in thread "main" > io.strimzi.operator.common.InvalidConfigurationException: > io.strimzi.operator.cluster.model.NoImageException: No image for version > 2.4.0 > > Please see attached deployment configuration file > > On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: > >> Hi Shabeer, >> >> I think it depends on you. Both options should IMHO lead to the same >> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >> not remember the details anymore. But I think the directory can be anywhere. >> >> Also please keep in mind that the base image is not freely >> interchangeable - so you need to test it whether what you need to do >> actually works or not. >> >> Thanks & Regards >> Jakub >> >> >> On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: >> >>> Hi Jakub, >>> >>> Please help to clarify below questions. Thanks >>> >>> We went through the documentation and came up with the following >>> options for updating the base image. Could you please suggest the best >>> option and answer the queries below? >>> >>> >>> >>> 1) Option 1: Update the base image Dockerfile below with the new >>> image and build the images >>> >>> >>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>> >>> >>> >>> 2) Option 2: Use the experimental feature mentioned in the >>> document of using ALTERNATE_BASE variable. >>> >>> Could you please let me know the location for this directory ? Is it >>> under docker-images directory? >>> >>> What are the contents expected in this directory? ? Dockerfile and >>> Makefile? >>> >>> >>> Regards, >>> >>> Shabeer >>> >>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: >>> >>>> I think that if you want to do this, you will need to get the source, >>>> modify the Dockerfiles and build the images from source. You cannot just >>>> replace a base image of existing container image. If you really wanna do >>>> it, you can read here more about how to do it: >>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>> >>>> Thanks & Regards >>>> Jakub >>>> >>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>> wrote: >>>> >>>>> Hi team, >>>>> >>>>> Please help with below, >>>>> >>>>> We need to use custom rhel image for strimzi openshift operatorand the >>>>> rhel image is already in jfrog private artifactory.please help with the >>>>> steps.thanks >>>>> _______________________________________________ >>>>> Strimzi mailing list >>>>> Strimzi at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Fri Apr 17 18:08:07 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Fri, 17 Apr 2020 20:08:07 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Thanks for the update.The components updated correctly.However base as still shows as centos. Unfortunately we don't access Docker server instead use bamboo tasks.please share steps for customizing base image with bamboo . Thanks & Regards Shabeer On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: > For which version of Strimzi are you building it? This error normally > suggests that an image for this version is missing in one of the > environment variables. In the Deployment you attached, I can see most of > them. But I do not see the one for Mirror Maker 2. I also see the versions > with some weird empty line in between and wonder if that is just something > random in how the file was attached or whether this can cause some issues. > > Overall I would say that: > * if you are on Strimzi 0.17, you are definitely missing the Mirror MAker > 2 variable: > https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 > * If you are on some older version, it might have some issues reading the > env vars due to the formatting. > > Thanks & Regards > Jakub > > On Fri, Apr 17, 2020 at 11:31 AM shabeer wrote: > >> Hi Jakub, >> >> I have tried to customize base image for strimzi : >> 1. created bse image with docker file >> 2. pulled all the kafka images and pushed to private repository >> 3.Strimzi is already running in a test cluster, Please confirm ,shall I >> just modify strimzi-cluster-operator yaml file with mew image path >> I have tried to it ,but not working . >> from log it says Exception in thread "main" >> io.strimzi.operator.common.InvalidConfigurationException: >> io.strimzi.operator.cluster.model.NoImageException: No image for version >> 2.4.0 >> >> Please see attached deployment configuration file >> >> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >> >>> Hi Shabeer, >>> >>> I think it depends on you. Both options should IMHO lead to the same >>> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >>> not remember the details anymore. But I think the directory can be anywhere. >>> >>> Also please keep in mind that the base image is not freely >>> interchangeable - so you need to test it whether what you need to do >>> actually works or not. >>> >>> Thanks & Regards >>> Jakub >>> >>> >>> On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: >>> >>>> Hi Jakub, >>>> >>>> Please help to clarify below questions. Thanks >>>> >>>> We went through the documentation and came up with the following >>>> options for updating the base image. Could you please suggest the best >>>> option and answer the queries below? >>>> >>>> >>>> >>>> 1) Option 1: Update the base image Dockerfile below with the new >>>> image and build the images >>>> >>>> >>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>> >>>> >>>> >>>> 2) Option 2: Use the experimental feature mentioned in the >>>> document of using ALTERNATE_BASE variable. >>>> >>>> Could you please let me know the location for this directory ? Is it >>>> under docker-images directory? >>>> >>>> What are the contents expected in this directory? ? Dockerfile and >>>> Makefile? >>>> >>>> >>>> Regards, >>>> >>>> Shabeer >>>> >>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: >>>> >>>>> I think that if you want to do this, you will need to get the source, >>>>> modify the Dockerfiles and build the images from source. You cannot just >>>>> replace a base image of existing container image. If you really wanna do >>>>> it, you can read here more about how to do it: >>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>> >>>>> Thanks & Regards >>>>> Jakub >>>>> >>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>> wrote: >>>>> >>>>>> Hi team, >>>>>> >>>>>> Please help with below, >>>>>> >>>>>> We need to use custom rhel image for strimzi openshift operatorand >>>>>> the rhel image is already in jfrog private artifactory.please help with the >>>>>> steps.thanks >>>>>> _______________________________________________ >>>>>> Strimzi mailing list >>>>>> Strimzi at redhat.com >>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>> >>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakub at scholz.cz Fri Apr 17 18:14:19 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Fri, 17 Apr 2020 20:14:19 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Ok, I kinda skipped that part of your email - sorry. You cannot change the base alone. You need to build the base and then build the containers on top of the base. So for example you could: * Checkout the Strimzi version, edit the Strimzi base dockerfile ( https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) the way you want and do `make docker_build` * Or change all the other Dockerfile files to use your base image in the `FROM ...` section and run `make docker_build`. JAkub On Fri, Apr 17, 2020 at 8:08 PM shabeer wrote: > Thanks for the update.The components updated correctly.However base as > still shows as centos. Unfortunately we don't access Docker server instead > use bamboo tasks.please share steps for customizing base image with bamboo . > > Thanks & Regards > Shabeer > > On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: > >> For which version of Strimzi are you building it? This error normally >> suggests that an image for this version is missing in one of the >> environment variables. In the Deployment you attached, I can see most of >> them. But I do not see the one for Mirror Maker 2. I also see the versions >> with some weird empty line in between and wonder if that is just something >> random in how the file was attached or whether this can cause some issues. >> >> Overall I would say that: >> * if you are on Strimzi 0.17, you are definitely missing the Mirror MAker >> 2 variable: >> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >> * If you are on some older version, it might have some issues reading the >> env vars due to the formatting. >> >> Thanks & Regards >> Jakub >> >> On Fri, Apr 17, 2020 at 11:31 AM shabeer wrote: >> >>> Hi Jakub, >>> >>> I have tried to customize base image for strimzi : >>> 1. created bse image with docker file >>> 2. pulled all the kafka images and pushed to private repository >>> 3.Strimzi is already running in a test cluster, Please confirm ,shall I >>> just modify strimzi-cluster-operator yaml file with mew image path >>> I have tried to it ,but not working . >>> from log it says Exception in thread "main" >>> io.strimzi.operator.common.InvalidConfigurationException: >>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>> 2.4.0 >>> >>> Please see attached deployment configuration file >>> >>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >>> >>>> Hi Shabeer, >>>> >>>> I think it depends on you. Both options should IMHO lead to the same >>>> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >>>> not remember the details anymore. But I think the directory can be anywhere. >>>> >>>> Also please keep in mind that the base image is not freely >>>> interchangeable - so you need to test it whether what you need to do >>>> actually works or not. >>>> >>>> Thanks & Regards >>>> Jakub >>>> >>>> >>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: >>>> >>>>> Hi Jakub, >>>>> >>>>> Please help to clarify below questions. Thanks >>>>> >>>>> We went through the documentation and came up with the following >>>>> options for updating the base image. Could you please suggest the best >>>>> option and answer the queries below? >>>>> >>>>> >>>>> >>>>> 1) Option 1: Update the base image Dockerfile below with the >>>>> new image and build the images >>>>> >>>>> >>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>> >>>>> >>>>> >>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>> document of using ALTERNATE_BASE variable. >>>>> >>>>> Could you please let me know the location for this directory ? Is it >>>>> under docker-images directory? >>>>> >>>>> What are the contents expected in this directory? ? Dockerfile and >>>>> Makefile? >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Shabeer >>>>> >>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz wrote: >>>>> >>>>>> I think that if you want to do this, you will need to get the source, >>>>>> modify the Dockerfiles and build the images from source. You cannot just >>>>>> replace a base image of existing container image. If you really wanna do >>>>>> it, you can read here more about how to do it: >>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>> >>>>>> Thanks & Regards >>>>>> Jakub >>>>>> >>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>> wrote: >>>>>> >>>>>>> Hi team, >>>>>>> >>>>>>> Please help with below, >>>>>>> >>>>>>> We need to use custom rhel image for strimzi openshift operatorand >>>>>>> the rhel image is already in jfrog private artifactory.please help with the >>>>>>> steps.thanks >>>>>>> _______________________________________________ >>>>>>> Strimzi mailing list >>>>>>> Strimzi at redhat.com >>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>> >>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Mon Apr 20 16:07:43 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Mon, 20 Apr 2020 18:07:43 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Jakub, Sorry to trouble you regarding updating strimzi base image with custom OS. Please see below set up. 1. code repository- bit bucket 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We do not normally access Bamboo build Server terminal (Docker server) 3. We will push resulting image to jfrog and we need to modify strimzi-cluster-opeator yaml file with jfrog images. We have updated bit bucket code with our own base image. however we have trouble building image with make docker_build We have tried to run as USER Root. Also please let us know .Jar file which is inside /tmp ,example : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift cluster. We are not able to see any of the jar files inside git repository. Thanks in advance Shabeer On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: > Ok, I kinda skipped that part of your email - sorry. You cannot change the > base alone. You need to build the base and then build the containers on top > of the base. So for example you could: > * Checkout the Strimzi version, edit the Strimzi base dockerfile ( > https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) > the way you want and do `make docker_build` > * Or change all the other Dockerfile files to use your base image in the > `FROM ...` section and run `make docker_build`. > > JAkub > > On Fri, Apr 17, 2020 at 8:08 PM shabeer wrote: > >> Thanks for the update.The components updated correctly.However base as >> still shows as centos. Unfortunately we don't access Docker server instead >> use bamboo tasks.please share steps for customizing base image with bamboo . >> >> Thanks & Regards >> Shabeer >> >> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >> >>> For which version of Strimzi are you building it? This error normally >>> suggests that an image for this version is missing in one of the >>> environment variables. In the Deployment you attached, I can see most of >>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>> with some weird empty line in between and wonder if that is just something >>> random in how the file was attached or whether this can cause some issues. >>> >>> Overall I would say that: >>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>> MAker 2 variable: >>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>> * If you are on some older version, it might have some issues reading >>> the env vars due to the formatting. >>> >>> Thanks & Regards >>> Jakub >>> >>> On Fri, Apr 17, 2020 at 11:31 AM shabeer wrote: >>> >>>> Hi Jakub, >>>> >>>> I have tried to customize base image for strimzi : >>>> 1. created bse image with docker file >>>> 2. pulled all the kafka images and pushed to private repository >>>> 3.Strimzi is already running in a test cluster, Please confirm ,shall I >>>> just modify strimzi-cluster-operator yaml file with mew image path >>>> I have tried to it ,but not working . >>>> from log it says Exception in thread "main" >>>> io.strimzi.operator.common.InvalidConfigurationException: >>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>> 2.4.0 >>>> >>>> Please see attached deployment configuration file >>>> >>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >>>> >>>>> Hi Shabeer, >>>>> >>>>> I think it depends on you. Both options should IMHO lead to the same >>>>> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >>>>> not remember the details anymore. But I think the directory can be anywhere. >>>>> >>>>> Also please keep in mind that the base image is not freely >>>>> interchangeable - so you need to test it whether what you need to do >>>>> actually works or not. >>>>> >>>>> Thanks & Regards >>>>> Jakub >>>>> >>>>> >>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer wrote: >>>>> >>>>>> Hi Jakub, >>>>>> >>>>>> Please help to clarify below questions. Thanks >>>>>> >>>>>> We went through the documentation and came up with the following >>>>>> options for updating the base image. Could you please suggest the best >>>>>> option and answer the queries below? >>>>>> >>>>>> >>>>>> >>>>>> 1) Option 1: Update the base image Dockerfile below with the >>>>>> new image and build the images >>>>>> >>>>>> >>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>> >>>>>> >>>>>> >>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>> document of using ALTERNATE_BASE variable. >>>>>> >>>>>> Could you please let me know the location for this directory ? Is it >>>>>> under docker-images directory? >>>>>> >>>>>> What are the contents expected in this directory? ? Dockerfile and >>>>>> Makefile? >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Shabeer >>>>>> >>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>> wrote: >>>>>> >>>>>>> I think that if you want to do this, you will need to get the >>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>> do it, you can read here more about how to do it: >>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>> >>>>>>> Thanks & Regards >>>>>>> Jakub >>>>>>> >>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>>> wrote: >>>>>>> >>>>>>>> Hi team, >>>>>>>> >>>>>>>> Please help with below, >>>>>>>> >>>>>>>> We need to use custom rhel image for strimzi openshift operatorand >>>>>>>> the rhel image is already in jfrog private artifactory.please help with the >>>>>>>> steps.thanks >>>>>>>> _______________________________________________ >>>>>>>> Strimzi mailing list >>>>>>>> Strimzi at redhat.com >>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>> >>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakub at scholz.cz Mon Apr 20 18:27:26 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Mon, 20 Apr 2020 20:27:26 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: I'm afraid I have no experience with BitBucket or Bamboo. So I cannot really help with that. You will need to figure that yourself. Sorry. Snakeyaml is just a regular transitive dependency. It should be downloaded by the Maven part of the build (when you run `make docker_build`, it should first build all the Java code before building the Docker images. And the Java build should download it.) Thanks & Regards Jakub On Mon, Apr 20, 2020 at 6:07 PM shabeer wrote: > Hi Jakub, > > Sorry to trouble you regarding updating strimzi base image with custom OS. > Please see below set up. > 1. code repository- bit bucket > 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We do > not normally access Bamboo build Server terminal (Docker server) > 3. We will push resulting image to jfrog and we need to modify > strimzi-cluster-opeator yaml file with jfrog images. > > We have updated bit bucket code with our own base image. > however we have trouble building image with make docker_build > We have tried to run as USER Root. > Also please let us know .Jar file which is inside /tmp ,example > : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift > cluster. > We are not able to see any of the jar files inside git repository. > > Thanks in advance > Shabeer > > > On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: > >> Ok, I kinda skipped that part of your email - sorry. You cannot change >> the base alone. You need to build the base and then build the containers on >> top of the base. So for example you could: >> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >> the way you want and do `make docker_build` >> * Or change all the other Dockerfile files to use your base image in the >> `FROM ...` section and run `make docker_build`. >> >> JAkub >> >> On Fri, Apr 17, 2020 at 8:08 PM shabeer wrote: >> >>> Thanks for the update.The components updated correctly.However base as >>> still shows as centos. Unfortunately we don't access Docker server instead >>> use bamboo tasks.please share steps for customizing base image with bamboo . >>> >>> Thanks & Regards >>> Shabeer >>> >>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>> >>>> For which version of Strimzi are you building it? This error normally >>>> suggests that an image for this version is missing in one of the >>>> environment variables. In the Deployment you attached, I can see most of >>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>> with some weird empty line in between and wonder if that is just something >>>> random in how the file was attached or whether this can cause some issues. >>>> >>>> Overall I would say that: >>>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>>> MAker 2 variable: >>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>> * If you are on some older version, it might have some issues reading >>>> the env vars due to the formatting. >>>> >>>> Thanks & Regards >>>> Jakub >>>> >>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>> wrote: >>>> >>>>> Hi Jakub, >>>>> >>>>> I have tried to customize base image for strimzi : >>>>> 1. created bse image with docker file >>>>> 2. pulled all the kafka images and pushed to private repository >>>>> 3.Strimzi is already running in a test cluster, Please confirm ,shall >>>>> I just modify strimzi-cluster-operator yaml file with mew image path >>>>> I have tried to it ,but not working . >>>>> from log it says Exception in thread "main" >>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>> 2.4.0 >>>>> >>>>> Please see attached deployment configuration file >>>>> >>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >>>>> >>>>>> Hi Shabeer, >>>>>> >>>>>> I think it depends on you. Both options should IMHO lead to the same >>>>>> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >>>>>> not remember the details anymore. But I think the directory can be anywhere. >>>>>> >>>>>> Also please keep in mind that the base image is not freely >>>>>> interchangeable - so you need to test it whether what you need to do >>>>>> actually works or not. >>>>>> >>>>>> Thanks & Regards >>>>>> Jakub >>>>>> >>>>>> >>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>> wrote: >>>>>> >>>>>>> Hi Jakub, >>>>>>> >>>>>>> Please help to clarify below questions. Thanks >>>>>>> >>>>>>> We went through the documentation and came up with the following >>>>>>> options for updating the base image. Could you please suggest the best >>>>>>> option and answer the queries below? >>>>>>> >>>>>>> >>>>>>> >>>>>>> 1) Option 1: Update the base image Dockerfile below with the >>>>>>> new image and build the images >>>>>>> >>>>>>> >>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>>> document of using ALTERNATE_BASE variable. >>>>>>> >>>>>>> Could you please let me know the location for this directory ? Is it >>>>>>> under docker-images directory? >>>>>>> >>>>>>> What are the contents expected in this directory? ? Dockerfile and >>>>>>> Makefile? >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Shabeer >>>>>>> >>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>> wrote: >>>>>>> >>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>> do it, you can read here more about how to do it: >>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>> >>>>>>>> Thanks & Regards >>>>>>>> Jakub >>>>>>>> >>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi team, >>>>>>>>> >>>>>>>>> Please help with below, >>>>>>>>> >>>>>>>>> We need to use custom rhel image for strimzi openshift operatorand >>>>>>>>> the rhel image is already in jfrog private artifactory.please help with the >>>>>>>>> steps.thanks >>>>>>>>> _______________________________________________ >>>>>>>>> Strimzi mailing list >>>>>>>>> Strimzi at redhat.com >>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>> >>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Mon Apr 20 18:45:59 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Mon, 20 Apr 2020 20:45:59 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Thanks for the reply On Mon, Apr 20, 2020, 8:27 PM Jakub Scholz wrote: > I'm afraid I have no experience with BitBucket or Bamboo. So I cannot > really help with that. You will need to figure that yourself. Sorry. > > Snakeyaml is just a regular transitive dependency. It should be downloaded > by the Maven part of the build (when you run `make docker_build`, it should > first build all the Java code before building the Docker images. And the > Java build should download it.) > > Thanks & Regards > Jakub > > On Mon, Apr 20, 2020 at 6:07 PM shabeer wrote: > >> Hi Jakub, >> >> Sorry to trouble you regarding updating strimzi base image with custom >> OS. Please see below set up. >> 1. code repository- bit bucket >> 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We do >> not normally access Bamboo build Server terminal (Docker server) >> 3. We will push resulting image to jfrog and we need to modify >> strimzi-cluster-opeator yaml file with jfrog images. >> >> We have updated bit bucket code with our own base image. >> however we have trouble building image with make docker_build >> We have tried to run as USER Root. >> Also please let us know .Jar file which is inside /tmp ,example >> : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift >> cluster. >> We are not able to see any of the jar files inside git repository. >> >> Thanks in advance >> Shabeer >> >> >> On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: >> >>> Ok, I kinda skipped that part of your email - sorry. You cannot change >>> the base alone. You need to build the base and then build the containers on >>> top of the base. So for example you could: >>> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >>> the way you want and do `make docker_build` >>> * Or change all the other Dockerfile files to use your base image in the >>> `FROM ...` section and run `make docker_build`. >>> >>> JAkub >>> >>> On Fri, Apr 17, 2020 at 8:08 PM shabeer wrote: >>> >>>> Thanks for the update.The components updated correctly.However base as >>>> still shows as centos. Unfortunately we don't access Docker server instead >>>> use bamboo tasks.please share steps for customizing base image with bamboo . >>>> >>>> Thanks & Regards >>>> Shabeer >>>> >>>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>>> >>>>> For which version of Strimzi are you building it? This error normally >>>>> suggests that an image for this version is missing in one of the >>>>> environment variables. In the Deployment you attached, I can see most of >>>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>>> with some weird empty line in between and wonder if that is just something >>>>> random in how the file was attached or whether this can cause some issues. >>>>> >>>>> Overall I would say that: >>>>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>>>> MAker 2 variable: >>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>>> * If you are on some older version, it might have some issues reading >>>>> the env vars due to the formatting. >>>>> >>>>> Thanks & Regards >>>>> Jakub >>>>> >>>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>>> wrote: >>>>> >>>>>> Hi Jakub, >>>>>> >>>>>> I have tried to customize base image for strimzi : >>>>>> 1. created bse image with docker file >>>>>> 2. pulled all the kafka images and pushed to private repository >>>>>> 3.Strimzi is already running in a test cluster, Please confirm ,shall >>>>>> I just modify strimzi-cluster-operator yaml file with mew image path >>>>>> I have tried to it ,but not working . >>>>>> from log it says Exception in thread "main" >>>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>>> 2.4.0 >>>>>> >>>>>> Please see attached deployment configuration file >>>>>> >>>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >>>>>> >>>>>>> Hi Shabeer, >>>>>>> >>>>>>> I think it depends on you. Both options should IMHO lead to the same >>>>>>> outcome. It is long time since I used the ALTERNATE_BASE feature. So I do >>>>>>> not remember the details anymore. But I think the directory can be anywhere. >>>>>>> >>>>>>> Also please keep in mind that the base image is not freely >>>>>>> interchangeable - so you need to test it whether what you need to do >>>>>>> actually works or not. >>>>>>> >>>>>>> Thanks & Regards >>>>>>> Jakub >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Jakub, >>>>>>>> >>>>>>>> Please help to clarify below questions. Thanks >>>>>>>> >>>>>>>> We went through the documentation and came up with the following >>>>>>>> options for updating the base image. Could you please suggest the best >>>>>>>> option and answer the queries below? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 1) Option 1: Update the base image Dockerfile below with the >>>>>>>> new image and build the images >>>>>>>> >>>>>>>> >>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>>>> document of using ALTERNATE_BASE variable. >>>>>>>> >>>>>>>> Could you please let me know the location for this directory ? Is >>>>>>>> it under docker-images directory? >>>>>>>> >>>>>>>> What are the contents expected in this directory? ? Dockerfile and >>>>>>>> Makefile? >>>>>>>> >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Shabeer >>>>>>>> >>>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>>> wrote: >>>>>>>> >>>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>>> do it, you can read here more about how to do it: >>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>>> >>>>>>>>> Thanks & Regards >>>>>>>>> Jakub >>>>>>>>> >>>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi team, >>>>>>>>>> >>>>>>>>>> Please help with below, >>>>>>>>>> >>>>>>>>>> We need to use custom rhel image for strimzi openshift >>>>>>>>>> operatorand the rhel image is already in jfrog private artifactory.please >>>>>>>>>> help with the steps.thanks >>>>>>>>>> _______________________________________________ >>>>>>>>>> Strimzi mailing list >>>>>>>>>> Strimzi at redhat.com >>>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>>> >>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Thu Apr 23 12:48:47 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Thu, 23 Apr 2020 14:48:47 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Jakub, Please see attached error . we tried to different cluster operator versions ,still the same.Thanks in advance Regards, Shabeer On Mon, Apr 20, 2020 at 8:45 PM shabeer wrote: > Thanks for the reply > > On Mon, Apr 20, 2020, 8:27 PM Jakub Scholz wrote: > >> I'm afraid I have no experience with BitBucket or Bamboo. So I cannot >> really help with that. You will need to figure that yourself. Sorry. >> >> Snakeyaml is just a regular transitive dependency. It should be >> downloaded by the Maven part of the build (when you run `make >> docker_build`, it should first build all the Java code before building the >> Docker images. And the Java build should download it.) >> >> Thanks & Regards >> Jakub >> >> On Mon, Apr 20, 2020 at 6:07 PM shabeer wrote: >> >>> Hi Jakub, >>> >>> Sorry to trouble you regarding updating strimzi base image with custom >>> OS. Please see below set up. >>> 1. code repository- bit bucket >>> 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We do >>> not normally access Bamboo build Server terminal (Docker server) >>> 3. We will push resulting image to jfrog and we need to modify >>> strimzi-cluster-opeator yaml file with jfrog images. >>> >>> We have updated bit bucket code with our own base image. >>> however we have trouble building image with make docker_build >>> We have tried to run as USER Root. >>> Also please let us know .Jar file which is inside /tmp ,example >>> : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift >>> cluster. >>> We are not able to see any of the jar files inside git repository. >>> >>> Thanks in advance >>> Shabeer >>> >>> >>> On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: >>> >>>> Ok, I kinda skipped that part of your email - sorry. You cannot change >>>> the base alone. You need to build the base and then build the containers on >>>> top of the base. So for example you could: >>>> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >>>> the way you want and do `make docker_build` >>>> * Or change all the other Dockerfile files to use your base image in >>>> the `FROM ...` section and run `make docker_build`. >>>> >>>> JAkub >>>> >>>> On Fri, Apr 17, 2020 at 8:08 PM shabeer wrote: >>>> >>>>> Thanks for the update.The components updated correctly.However base as >>>>> still shows as centos. Unfortunately we don't access Docker server instead >>>>> use bamboo tasks.please share steps for customizing base image with bamboo . >>>>> >>>>> Thanks & Regards >>>>> Shabeer >>>>> >>>>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>>>> >>>>>> For which version of Strimzi are you building it? This error normally >>>>>> suggests that an image for this version is missing in one of the >>>>>> environment variables. In the Deployment you attached, I can see most of >>>>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>>>> with some weird empty line in between and wonder if that is just something >>>>>> random in how the file was attached or whether this can cause some issues. >>>>>> >>>>>> Overall I would say that: >>>>>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>>>>> MAker 2 variable: >>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>>>> * If you are on some older version, it might have some issues reading >>>>>> the env vars due to the formatting. >>>>>> >>>>>> Thanks & Regards >>>>>> Jakub >>>>>> >>>>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>>>> wrote: >>>>>> >>>>>>> Hi Jakub, >>>>>>> >>>>>>> I have tried to customize base image for strimzi : >>>>>>> 1. created bse image with docker file >>>>>>> 2. pulled all the kafka images and pushed to private repository >>>>>>> 3.Strimzi is already running in a test cluster, Please confirm >>>>>>> ,shall I just modify strimzi-cluster-operator yaml file with mew image path >>>>>>> I have tried to it ,but not working . >>>>>>> from log it says Exception in thread "main" >>>>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>>>> 2.4.0 >>>>>>> >>>>>>> Please see attached deployment configuration file >>>>>>> >>>>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz wrote: >>>>>>> >>>>>>>> Hi Shabeer, >>>>>>>> >>>>>>>> I think it depends on you. Both options should IMHO lead to the >>>>>>>> same outcome. It is long time since I used the ALTERNATE_BASE feature. So I >>>>>>>> do not remember the details anymore. But I think the directory can be >>>>>>>> anywhere. >>>>>>>> >>>>>>>> Also please keep in mind that the base image is not freely >>>>>>>> interchangeable - so you need to test it whether what you need to do >>>>>>>> actually works or not. >>>>>>>> >>>>>>>> Thanks & Regards >>>>>>>> Jakub >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Jakub, >>>>>>>>> >>>>>>>>> Please help to clarify below questions. Thanks >>>>>>>>> >>>>>>>>> We went through the documentation and came up with the following >>>>>>>>> options for updating the base image. Could you please suggest the best >>>>>>>>> option and answer the queries below? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 1) Option 1: Update the base image Dockerfile below with >>>>>>>>> the new image and build the images >>>>>>>>> >>>>>>>>> >>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>>>>> document of using ALTERNATE_BASE variable. >>>>>>>>> >>>>>>>>> Could you please let me know the location for this directory ? Is >>>>>>>>> it under docker-images directory? >>>>>>>>> >>>>>>>>> What are the contents expected in this directory? ? Dockerfile and >>>>>>>>> Makefile? >>>>>>>>> >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Shabeer >>>>>>>>> >>>>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>>>> do it, you can read here more about how to do it: >>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>>>> >>>>>>>>>> Thanks & Regards >>>>>>>>>> Jakub >>>>>>>>>> >>>>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hi team, >>>>>>>>>>> >>>>>>>>>>> Please help with below, >>>>>>>>>>> >>>>>>>>>>> We need to use custom rhel image for strimzi openshift >>>>>>>>>>> operatorand the rhel image is already in jfrog private artifactory.please >>>>>>>>>>> help with the steps.thanks >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Strimzi mailing list >>>>>>>>>>> Strimzi at redhat.com >>>>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>>>> >>>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: strimzi-cluster-operator-5cf95f6bdf-2gsh6.log Type: application/octet-stream Size: 33134 bytes Desc: not available URL: From jakub at scholz.cz Thu Apr 23 14:51:39 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Thu, 23 Apr 2020 16:51:39 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: I never saw an error exactly like this. But HTTP 404 normally means that you didn't install all the custom resources. so you should check `kubectl get customresourcedefinitions` and check if you have all of them. Jakub On Thu, Apr 23, 2020 at 2:48 PM shabeer wrote: > Hi Jakub, > > Please see attached error . we tried to different cluster operator > versions ,still the same.Thanks in advance > > Regards, > Shabeer > > On Mon, Apr 20, 2020 at 8:45 PM shabeer wrote: > >> Thanks for the reply >> >> On Mon, Apr 20, 2020, 8:27 PM Jakub Scholz wrote: >> >>> I'm afraid I have no experience with BitBucket or Bamboo. So I cannot >>> really help with that. You will need to figure that yourself. Sorry. >>> >>> Snakeyaml is just a regular transitive dependency. It should be >>> downloaded by the Maven part of the build (when you run `make >>> docker_build`, it should first build all the Java code before building the >>> Docker images. And the Java build should download it.) >>> >>> Thanks & Regards >>> Jakub >>> >>> On Mon, Apr 20, 2020 at 6:07 PM shabeer wrote: >>> >>>> Hi Jakub, >>>> >>>> Sorry to trouble you regarding updating strimzi base image with custom >>>> OS. Please see below set up. >>>> 1. code repository- bit bucket >>>> 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We >>>> do not normally access Bamboo build Server terminal (Docker server) >>>> 3. We will push resulting image to jfrog and we need to modify >>>> strimzi-cluster-opeator yaml file with jfrog images. >>>> >>>> We have updated bit bucket code with our own base image. >>>> however we have trouble building image with make docker_build >>>> We have tried to run as USER Root. >>>> Also please let us know .Jar file which is inside /tmp ,example >>>> : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift >>>> cluster. >>>> We are not able to see any of the jar files inside git repository. >>>> >>>> Thanks in advance >>>> Shabeer >>>> >>>> >>>> On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: >>>> >>>>> Ok, I kinda skipped that part of your email - sorry. You cannot change >>>>> the base alone. You need to build the base and then build the containers on >>>>> top of the base. So for example you could: >>>>> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >>>>> the way you want and do `make docker_build` >>>>> * Or change all the other Dockerfile files to use your base image in >>>>> the `FROM ...` section and run `make docker_build`. >>>>> >>>>> JAkub >>>>> >>>>> On Fri, Apr 17, 2020 at 8:08 PM shabeer >>>>> wrote: >>>>> >>>>>> Thanks for the update.The components updated correctly.However base >>>>>> as still shows as centos. Unfortunately we don't access Docker server >>>>>> instead use bamboo tasks.please share steps for customizing base image with >>>>>> bamboo . >>>>>> >>>>>> Thanks & Regards >>>>>> Shabeer >>>>>> >>>>>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>>>>> >>>>>>> For which version of Strimzi are you building it? This error >>>>>>> normally suggests that an image for this version is missing in one of the >>>>>>> environment variables. In the Deployment you attached, I can see most of >>>>>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>>>>> with some weird empty line in between and wonder if that is just something >>>>>>> random in how the file was attached or whether this can cause some issues. >>>>>>> >>>>>>> Overall I would say that: >>>>>>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>>>>>> MAker 2 variable: >>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>>>>> * If you are on some older version, it might have some issues >>>>>>> reading the env vars due to the formatting. >>>>>>> >>>>>>> Thanks & Regards >>>>>>> Jakub >>>>>>> >>>>>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Jakub, >>>>>>>> >>>>>>>> I have tried to customize base image for strimzi : >>>>>>>> 1. created bse image with docker file >>>>>>>> 2. pulled all the kafka images and pushed to private repository >>>>>>>> 3.Strimzi is already running in a test cluster, Please confirm >>>>>>>> ,shall I just modify strimzi-cluster-operator yaml file with mew image path >>>>>>>> I have tried to it ,but not working . >>>>>>>> from log it says Exception in thread "main" >>>>>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>>>>> 2.4.0 >>>>>>>> >>>>>>>> Please see attached deployment configuration file >>>>>>>> >>>>>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Shabeer, >>>>>>>>> >>>>>>>>> I think it depends on you. Both options should IMHO lead to the >>>>>>>>> same outcome. It is long time since I used the ALTERNATE_BASE feature. So I >>>>>>>>> do not remember the details anymore. But I think the directory can be >>>>>>>>> anywhere. >>>>>>>>> >>>>>>>>> Also please keep in mind that the base image is not freely >>>>>>>>> interchangeable - so you need to test it whether what you need to do >>>>>>>>> actually works or not. >>>>>>>>> >>>>>>>>> Thanks & Regards >>>>>>>>> Jakub >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Jakub, >>>>>>>>>> >>>>>>>>>> Please help to clarify below questions. Thanks >>>>>>>>>> >>>>>>>>>> We went through the documentation and came up with the following >>>>>>>>>> options for updating the base image. Could you please suggest the best >>>>>>>>>> option and answer the queries below? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 1) Option 1: Update the base image Dockerfile below with >>>>>>>>>> the new image and build the images >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>>>>>> document of using ALTERNATE_BASE variable. >>>>>>>>>> >>>>>>>>>> Could you please let me know the location for this directory ? Is >>>>>>>>>> it under docker-images directory? >>>>>>>>>> >>>>>>>>>> What are the contents expected in this directory? ? Dockerfile >>>>>>>>>> and Makefile? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> >>>>>>>>>> Shabeer >>>>>>>>>> >>>>>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>>>>> do it, you can read here more about how to do it: >>>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>>>>> >>>>>>>>>>> Thanks & Regards >>>>>>>>>>> Jakub >>>>>>>>>>> >>>>>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi team, >>>>>>>>>>>> >>>>>>>>>>>> Please help with below, >>>>>>>>>>>> >>>>>>>>>>>> We need to use custom rhel image for strimzi openshift >>>>>>>>>>>> operatorand the rhel image is already in jfrog private artifactory.please >>>>>>>>>>>> help with the steps.thanks >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Strimzi mailing list >>>>>>>>>>>> Strimzi at redhat.com >>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>>>>> >>>>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From shabeer22vsb at gmail.com Wed Apr 29 20:21:27 2020 From: shabeer22vsb at gmail.com (shabeer) Date: Wed, 29 Apr 2020 22:21:27 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Thanks Jakub . We were able to customize images. We have another question to set up monitoring with Prometheus ,Grafana for Strimzi 0.16.x, GIT repo does not have metrics foler under examples. Please share if there any specific document to configure monitoring in Openshift . Thanks Shabeer On Thu, Apr 23, 2020 at 4:51 PM Jakub Scholz wrote: > I never saw an error exactly like this. But HTTP 404 normally means that > you didn't install all the custom resources. so you should check `kubectl > get customresourcedefinitions` and check if you have all of them. > > Jakub > > On Thu, Apr 23, 2020 at 2:48 PM shabeer wrote: > >> Hi Jakub, >> >> Please see attached error . we tried to different cluster operator >> versions ,still the same.Thanks in advance >> >> Regards, >> Shabeer >> >> On Mon, Apr 20, 2020 at 8:45 PM shabeer wrote: >> >>> Thanks for the reply >>> >>> On Mon, Apr 20, 2020, 8:27 PM Jakub Scholz wrote: >>> >>>> I'm afraid I have no experience with BitBucket or Bamboo. So I cannot >>>> really help with that. You will need to figure that yourself. Sorry. >>>> >>>> Snakeyaml is just a regular transitive dependency. It should be >>>> downloaded by the Maven part of the build (when you run `make >>>> docker_build`, it should first build all the Java code before building the >>>> Docker images. And the Java build should download it.) >>>> >>>> Thanks & Regards >>>> Jakub >>>> >>>> On Mon, Apr 20, 2020 at 6:07 PM shabeer wrote: >>>> >>>>> Hi Jakub, >>>>> >>>>> Sorry to trouble you regarding updating strimzi base image with custom >>>>> OS. Please see below set up. >>>>> 1. code repository- bit bucket >>>>> 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We >>>>> do not normally access Bamboo build Server terminal (Docker server) >>>>> 3. We will push resulting image to jfrog and we need to modify >>>>> strimzi-cluster-opeator yaml file with jfrog images. >>>>> >>>>> We have updated bit bucket code with our own base image. >>>>> however we have trouble building image with make docker_build >>>>> We have tried to run as USER Root. >>>>> Also please let us know .Jar file which is inside /tmp ,example >>>>> : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift >>>>> cluster. >>>>> We are not able to see any of the jar files inside git repository. >>>>> >>>>> Thanks in advance >>>>> Shabeer >>>>> >>>>> >>>>> On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: >>>>> >>>>>> Ok, I kinda skipped that part of your email - sorry. You cannot >>>>>> change the base alone. You need to build the base and then build the >>>>>> containers on top of the base. So for example you could: >>>>>> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >>>>>> the way you want and do `make docker_build` >>>>>> * Or change all the other Dockerfile files to use your base image in >>>>>> the `FROM ...` section and run `make docker_build`. >>>>>> >>>>>> JAkub >>>>>> >>>>>> On Fri, Apr 17, 2020 at 8:08 PM shabeer >>>>>> wrote: >>>>>> >>>>>>> Thanks for the update.The components updated correctly.However base >>>>>>> as still shows as centos. Unfortunately we don't access Docker server >>>>>>> instead use bamboo tasks.please share steps for customizing base image with >>>>>>> bamboo . >>>>>>> >>>>>>> Thanks & Regards >>>>>>> Shabeer >>>>>>> >>>>>>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>>>>>> >>>>>>>> For which version of Strimzi are you building it? This error >>>>>>>> normally suggests that an image for this version is missing in one of the >>>>>>>> environment variables. In the Deployment you attached, I can see most of >>>>>>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>>>>>> with some weird empty line in between and wonder if that is just something >>>>>>>> random in how the file was attached or whether this can cause some issues. >>>>>>>> >>>>>>>> Overall I would say that: >>>>>>>> * if you are on Strimzi 0.17, you are definitely missing the Mirror >>>>>>>> MAker 2 variable: >>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>>>>>> * If you are on some older version, it might have some issues >>>>>>>> reading the env vars due to the formatting. >>>>>>>> >>>>>>>> Thanks & Regards >>>>>>>> Jakub >>>>>>>> >>>>>>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi Jakub, >>>>>>>>> >>>>>>>>> I have tried to customize base image for strimzi : >>>>>>>>> 1. created bse image with docker file >>>>>>>>> 2. pulled all the kafka images and pushed to private repository >>>>>>>>> 3.Strimzi is already running in a test cluster, Please confirm >>>>>>>>> ,shall I just modify strimzi-cluster-operator yaml file with mew image path >>>>>>>>> I have tried to it ,but not working . >>>>>>>>> from log it says Exception in thread "main" >>>>>>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>>>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>>>>>> 2.4.0 >>>>>>>>> >>>>>>>>> Please see attached deployment configuration file >>>>>>>>> >>>>>>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Shabeer, >>>>>>>>>> >>>>>>>>>> I think it depends on you. Both options should IMHO lead to the >>>>>>>>>> same outcome. It is long time since I used the ALTERNATE_BASE feature. So I >>>>>>>>>> do not remember the details anymore. But I think the directory can be >>>>>>>>>> anywhere. >>>>>>>>>> >>>>>>>>>> Also please keep in mind that the base image is not freely >>>>>>>>>> interchangeable - so you need to test it whether what you need to do >>>>>>>>>> actually works or not. >>>>>>>>>> >>>>>>>>>> Thanks & Regards >>>>>>>>>> Jakub >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Jakub, >>>>>>>>>>> >>>>>>>>>>> Please help to clarify below questions. Thanks >>>>>>>>>>> >>>>>>>>>>> We went through the documentation and came up with the >>>>>>>>>>> following options for updating the base image. Could you please suggest the >>>>>>>>>>> best option and answer the queries below? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 1) Option 1: Update the base image Dockerfile below with >>>>>>>>>>> the new image and build the images >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2) Option 2: Use the experimental feature mentioned in the >>>>>>>>>>> document of using ALTERNATE_BASE variable. >>>>>>>>>>> >>>>>>>>>>> Could you please let me know the location for this directory ? >>>>>>>>>>> Is it under docker-images directory? >>>>>>>>>>> >>>>>>>>>>> What are the contents expected in this directory? ? Dockerfile >>>>>>>>>>> and Makefile? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> >>>>>>>>>>> Shabeer >>>>>>>>>>> >>>>>>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>>>>>> do it, you can read here more about how to do it: >>>>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>>>>>> >>>>>>>>>>>> Thanks & Regards >>>>>>>>>>>> Jakub >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer < >>>>>>>>>>>> shabeer22vsb at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi team, >>>>>>>>>>>>> >>>>>>>>>>>>> Please help with below, >>>>>>>>>>>>> >>>>>>>>>>>>> We need to use custom rhel image for strimzi openshift >>>>>>>>>>>>> operatorand the rhel image is already in jfrog private artifactory.please >>>>>>>>>>>>> help with the steps.thanks >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Strimzi mailing list >>>>>>>>>>>>> Strimzi at redhat.com >>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>>>>>> >>>>>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakub at scholz.cz Wed Apr 29 21:44:56 2020 From: jakub at scholz.cz (Jakub Scholz) Date: Wed, 29 Apr 2020 23:44:56 +0200 Subject: [Strimzi] Kafka image In-Reply-To: References: Message-ID: Hi Shabeer, The metrics stuff in the Github repo is under metrics and not under examples for 0.16: https://github.com/strimzi/strimzi-kafka-operator/tree/0.16.2/metrics/examples ... you can find it also in the downloaded ZIp from the release page. There is documentation for the metrics in the regular docs (things change, so check the 0.16 documentation). I do not think there is much else. Thanks & Regards Jakub On Wed, Apr 29, 2020 at 10:21 PM shabeer wrote: > Thanks Jakub . We were able to customize images. We have another question > to set up monitoring with Prometheus ,Grafana for Strimzi 0.16.x, GIT repo > does not have metrics foler under examples. Please share if there any > specific document to configure monitoring in Openshift . > > Thanks > Shabeer > > On Thu, Apr 23, 2020 at 4:51 PM Jakub Scholz wrote: > >> I never saw an error exactly like this. But HTTP 404 normally means that >> you didn't install all the custom resources. so you should check `kubectl >> get customresourcedefinitions` and check if you have all of them. >> >> Jakub >> >> On Thu, Apr 23, 2020 at 2:48 PM shabeer wrote: >> >>> Hi Jakub, >>> >>> Please see attached error . we tried to different cluster operator >>> versions ,still the same.Thanks in advance >>> >>> Regards, >>> Shabeer >>> >>> On Mon, Apr 20, 2020 at 8:45 PM shabeer wrote: >>> >>>> Thanks for the reply >>>> >>>> On Mon, Apr 20, 2020, 8:27 PM Jakub Scholz wrote: >>>> >>>>> I'm afraid I have no experience with BitBucket or Bamboo. So I cannot >>>>> really help with that. You will need to figure that yourself. Sorry. >>>>> >>>>> Snakeyaml is just a regular transitive dependency. It should be >>>>> downloaded by the Maven part of the build (when you run `make >>>>> docker_build`, it should first build all the Java code before building the >>>>> Docker images. And the Java build should download it.) >>>>> >>>>> Thanks & Regards >>>>> Jakub >>>>> >>>>> On Mon, Apr 20, 2020 at 6:07 PM shabeer >>>>> wrote: >>>>> >>>>>> Hi Jakub, >>>>>> >>>>>> Sorry to trouble you regarding updating strimzi base image with >>>>>> custom OS. Please see below set up. >>>>>> 1. code repository- bit bucket >>>>>> 2. Bamboo -> we will run as Bamboo task(Docker build,docker push). We >>>>>> do not normally access Bamboo build Server terminal (Docker server) >>>>>> 3. We will push resulting image to jfrog and we need to modify >>>>>> strimzi-cluster-opeator yaml file with jfrog images. >>>>>> >>>>>> We have updated bit bucket code with our own base image. >>>>>> however we have trouble building image with make docker_build >>>>>> We have tried to run as USER Root. >>>>>> Also please let us know .Jar file which is inside /tmp ,example >>>>>> : org.yaml.snakeyaml-1.23.jar ,how it is getting downloaded to openshift >>>>>> cluster. >>>>>> We are not able to see any of the jar files inside git repository. >>>>>> >>>>>> Thanks in advance >>>>>> Shabeer >>>>>> >>>>>> >>>>>> On Fri, Apr 17, 2020 at 8:14 PM Jakub Scholz wrote: >>>>>> >>>>>>> Ok, I kinda skipped that part of your email - sorry. You cannot >>>>>>> change the base alone. You need to build the base and then build the >>>>>>> containers on top of the base. So for example you could: >>>>>>> * Checkout the Strimzi version, edit the Strimzi base dockerfile ( >>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/docker-images/base/Dockerfile) >>>>>>> the way you want and do `make docker_build` >>>>>>> * Or change all the other Dockerfile files to use your base image in >>>>>>> the `FROM ...` section and run `make docker_build`. >>>>>>> >>>>>>> JAkub >>>>>>> >>>>>>> On Fri, Apr 17, 2020 at 8:08 PM shabeer >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks for the update.The components updated correctly.However base >>>>>>>> as still shows as centos. Unfortunately we don't access Docker server >>>>>>>> instead use bamboo tasks.please share steps for customizing base image with >>>>>>>> bamboo . >>>>>>>> >>>>>>>> Thanks & Regards >>>>>>>> Shabeer >>>>>>>> >>>>>>>> On Fri, Apr 17, 2020, 7:59 PM Jakub Scholz wrote: >>>>>>>> >>>>>>>>> For which version of Strimzi are you building it? This error >>>>>>>>> normally suggests that an image for this version is missing in one of the >>>>>>>>> environment variables. In the Deployment you attached, I can see most of >>>>>>>>> them. But I do not see the one for Mirror Maker 2. I also see the versions >>>>>>>>> with some weird empty line in between and wonder if that is just something >>>>>>>>> random in how the file was attached or whether this can cause some issues. >>>>>>>>> >>>>>>>>> Overall I would say that: >>>>>>>>> * if you are on Strimzi 0.17, you are definitely missing the >>>>>>>>> Mirror MAker 2 variable: >>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/a5a3089d1dfd7d0341e335944e14ba38c2a2f857/install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml#L58 >>>>>>>>> * If you are on some older version, it might have some issues >>>>>>>>> reading the env vars due to the formatting. >>>>>>>>> >>>>>>>>> Thanks & Regards >>>>>>>>> Jakub >>>>>>>>> >>>>>>>>> On Fri, Apr 17, 2020 at 11:31 AM shabeer >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Jakub, >>>>>>>>>> >>>>>>>>>> I have tried to customize base image for strimzi : >>>>>>>>>> 1. created bse image with docker file >>>>>>>>>> 2. pulled all the kafka images and pushed to private repository >>>>>>>>>> 3.Strimzi is already running in a test cluster, Please confirm >>>>>>>>>> ,shall I just modify strimzi-cluster-operator yaml file with mew image path >>>>>>>>>> I have tried to it ,but not working . >>>>>>>>>> from log it says Exception in thread "main" >>>>>>>>>> io.strimzi.operator.common.InvalidConfigurationException: >>>>>>>>>> io.strimzi.operator.cluster.model.NoImageException: No image for version >>>>>>>>>> 2.4.0 >>>>>>>>>> >>>>>>>>>> Please see attached deployment configuration file >>>>>>>>>> >>>>>>>>>> On Wed, Apr 1, 2020 at 8:57 PM Jakub Scholz >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Shabeer, >>>>>>>>>>> >>>>>>>>>>> I think it depends on you. Both options should IMHO lead to the >>>>>>>>>>> same outcome. It is long time since I used the ALTERNATE_BASE feature. So I >>>>>>>>>>> do not remember the details anymore. But I think the directory can be >>>>>>>>>>> anywhere. >>>>>>>>>>> >>>>>>>>>>> Also please keep in mind that the base image is not freely >>>>>>>>>>> interchangeable - so you need to test it whether what you need to do >>>>>>>>>>> actually works or not. >>>>>>>>>>> >>>>>>>>>>> Thanks & Regards >>>>>>>>>>> Jakub >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Wed, Apr 1, 2020 at 9:28 AM shabeer >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Jakub, >>>>>>>>>>>> >>>>>>>>>>>> Please help to clarify below questions. Thanks >>>>>>>>>>>> >>>>>>>>>>>> We went through the documentation and came up with the >>>>>>>>>>>> following options for updating the base image. Could you please suggest the >>>>>>>>>>>> best option and answer the queries below? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 1) Option 1: Update the base image Dockerfile below with >>>>>>>>>>>> the new image and build the images >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/tree/master/docker-images/base >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2) Option 2: Use the experimental feature mentioned in >>>>>>>>>>>> the document of using ALTERNATE_BASE variable. >>>>>>>>>>>> >>>>>>>>>>>> Could you please let me know the location for this directory ? >>>>>>>>>>>> Is it under docker-images directory? >>>>>>>>>>>> >>>>>>>>>>>> What are the contents expected in this directory? ? Dockerfile >>>>>>>>>>>> and Makefile? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> >>>>>>>>>>>> Shabeer >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Mar 25, 2020 at 11:56 AM Jakub Scholz >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I think that if you want to do this, you will need to get the >>>>>>>>>>>>> source, modify the Dockerfiles and build the images from source. You cannot >>>>>>>>>>>>> just replace a base image of existing container image. If you really wanna >>>>>>>>>>>>> do it, you can read here more about how to do it: >>>>>>>>>>>>> https://github.com/strimzi/strimzi-kafka-operator/blob/master/HACKING.md >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks & Regards >>>>>>>>>>>>> Jakub >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Mar 25, 2020 at 11:43 AM shabeer < >>>>>>>>>>>>> shabeer22vsb at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi team, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Please help with below, >>>>>>>>>>>>>> >>>>>>>>>>>>>> We need to use custom rhel image for strimzi openshift >>>>>>>>>>>>>> operatorand the rhel image is already in jfrog private artifactory.please >>>>>>>>>>>>>> help with the steps.thanks >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Strimzi mailing list >>>>>>>>>>>>>> Strimzi at redhat.com >>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/strimzi >>>>>>>>>>>>>> >>>>>>>>>>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: