Hi Steve, ArtemisClod.io <https://artemiscloud.io/> provides a repository <https://quay.io/organization/artemiscloud>[1] for container images based ActiveMQ Artemis and an operator <https://kubernetes.io/docs/concepts/extend-kubernetes/operator/>[2] that support custom resources <https://artemiscloud.io/docs/help/custom-resources/> to deploy ActivemQ Artemis clusters on kubernetes, i.e. to deploy 1 instance of ActiveMQ Artemis and expose the web console you only need to apply the following custom resource and the operator creates the required Kubernetes resources:
apiVersion: broker.amq.io/v1beta1 kind: ActiveMQArtemis metadata: name: ex-aao spec: deploymentPlan: size: 1 console: expose: true [1] https://quay.io/organization/artemiscloud [2] https://kubernetes.io/docs/concepts/extend-kubernetes/operator/ [3] https://artemiscloud.io/docs/help/custom-resources/ Regards, Domenico On Tue, 15 Nov 2022 at 04:15, Steve Hiller <steve.hil...@randstadusa.com> wrote: > HI All, > > With your help, I was able to resolve my kubernetes deployment that is > based on the > apache-artemis-2.26.0-Source/artemis-docker sample. In the process, it > was suggested that I might want to consider using ArtemisCloud.io. The > docker sample was pretty straightforward to set up. My question is, > what is the advantage of using ArtemisCloud.io instead? > > Thanks, > Steve > > On Mon, Nov 14, 2022 at 11:59 AM Steve Hiller > <steve.hil...@randstadusa.com> wrote: > > > > Thanks, Domenico! The issue was real simple -- in the ingress, the > > path on the backend service should have just been "/" on port 8161. > > > > On Fri, Nov 11, 2022 at 5:57 AM Domenico Francesco Bruscino > > <bruscin...@gmail.com> wrote: > > > > > > Hi Steve, > > > > > > the ArtemisCloud.io <https://artemiscloud.io/> operator create a > ClusterIP > > > Service and an Ingress resource with the path /: > > > > > > kind: Service > > > apiVersion: v1 > > > metadata: > > > name: ex-aao-wconsj-0-svc > > > namespace: default > > > labels: > > > ActiveMQArtemis: ex-aao > > > application: ex-aao-app > > > spec: > > > ports: > > > - name: wconsj-0 > > > protocol: TCP > > > port: 8161 > > > targetPort: 8161 > > > selector: > > > ActiveMQArtemis: ex-aao > > > application: ex-aao-app > > > statefulset.kubernetes.io/pod-name: ex-aao-ss-0 > > > type: ClusterIP > > > > > > kind: Ingress > > > apiVersion: networking.k8s.io/v1 > > > metadata: > > > name: ex-aao-wconsj-0-svc-ing > > > namespace: default > > > labels: > > > ActiveMQArtemis: ex-aao > > > application: ex-aao-app > > > statefulset.kubernetes.io/pod-name: ex-aao-ss-0 > > > spec: > > > rules: > > > - host: www.mgmtconsole.com > > > http: > > > paths: > > > - path: / > > > pathType: Prefix > > > backend: > > > service: > > > name: ex-aao-wconsj-0-svc > > > port: > > > name: wconsj-0 > > > > > > Regards, > > > Domenico > > > > > > > > > On Tue, 8 Nov 2022 at 16:05, Steve Hiller < > steve.hil...@randstadusa.com> > > > wrote: > > > > > > > Hi Domenico, > > > > > > > > I was on holiday so that is why I didn't respond to your email > sooner. > > > > > > > > The console service is deployed as: > > > > > > > > apiVersion: v1 > > > > kind: Service > > > > metadata: > > > > name: artemis-console > > > > labels: > > > > name: artemis > > > > spec: > > > > type: NodePort > > > > ports: > > > > - port: 80 > > > > targetPort: 8161 > > > > selector: > > > > name: artemis-deployment > > > > > > > > The ingress is deployed as: > > > > > > > > apiVersion: networking.k8s.io/v1 > > > > kind: Ingress > > > > metadata: > > > > annotations: > > > > kubernetes.io/ingress.class: my-ingress-class > > > > nginx.ingress.kubernetes.io/proxy-body-size: 100m > > > > nginx.ingress.kubernetes.io/ssl-redirect: "true" > > > > nginx.org/client-max-body-size: 100m > > > > nginx.org/proxy-buffer-size: 256k > > > > nginx.org/proxy-buffers: 63 256k > > > > nginx.org/proxy-connect-timeout: 3600s > > > > nginx.org/proxy-read-timeout: 3600s > > > > nginx.org/proxy-send-timeout: 3600s > > > > spec: > > > > rules: > > > > - host: my-host.com > > > > http: > > > > paths: > > > > - backend: > > > > service: > > > > name: artemis-console > > > > port: > > > > number: 80 > > > > path: /console/ > > > > pathType: ImplementationSpecific > > > > tls: > > > > - hosts: > > > > - my-host.com > > > > secretName: my-secret > > > > > > > > Did I miss something? > > > > > > > > Thanks, > > > > Steve > > > > > > > > > > > > > > > > > > > > On Wed, Nov 2, 2022 at 3:01 AM Domenico Francesco Bruscino > > > > <bruscin...@gmail.com> wrote: > > > > > > > > > > Hi Steve, > > > > > > > > > > ArtemisCloud.io operator creates a service for the ActiveMQArtemis > web > > > > > console and exposes it using an ingress resource on kubernetes. > How are > > > > you > > > > > exposing the ActiveMQArtemis web console? > > > > > > > > > > Regards, > > > > > Domenico > > > > > > > > > > On Mon, 31 Oct 2022 at 20:48, Clebert Suconic < > clebert.suco...@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > perhaps you could take a look at https://artemiscloud.io ? > > > > > > > > > > > > > > > > > > On Mon, Oct 31, 2022 at 1:46 PM Steve Hiller > > > > > > <steve.hil...@randstadusa.com> wrote: > > > > > > > > > > > > > > Hi Clebert - I am not sure either. In the past, I have stood up > > > > > > > classic AMQ and Hawtio in K8s - Hawtio seemed to work just > fine with > > > > > > > AMQ, using a subdomain to reach it. > > > > > > > > > > > > > > On Fri, Oct 28, 2022 at 7:29 PM Clebert Suconic > > > > > > > <clebert.suco...@gmail.com> wrote: > > > > > > > > > > > > > > > > The jolokia is just a web binding. > > > > > > > > > > > > > > > > > > > > > > > > Not sure how to help there. From my POV here seems a simple > app > > > > dev > > > > > > thing ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Oct 28, 2022 at 4:03 PM Steve Hiller < > > > > > > steve.hil...@randstadusa.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > > > > > I successfully installed AMQ Artemis 2.26.0 as a single > pod in a > > > > GCP > > > > > > > > > kubernetes cluster. The Docker image is based on the > > > > > > > > > apache-artemis-2.26.0-Source/artemis-docker sample. Other > pods > > > > can > > > > > > > > > send messages to Artemis queues via standard Java JMS > techniques > > > > > > > > > (using Camel and SpringBoot to be more precise). Using port > > > > > > > > > forwarding, I can view the Artemis/Hawtio console > including the > > > > > > > > > Artemis plugin tab. However, if I try to view the console > using a > > > > > > > > > standard subdomain then the Artemis tab is not visible. > Also, the > > > > > > > > > display is not quite right as some images and perhaps CSS > are > > > > > > missing. > > > > > > > > > The JMX, Runtime and Diagnostics links are available in > the left > > > > hand > > > > > > > > > navigation bar. Using Chrome's inspection tool, the > Network tab > > > > shows > > > > > > > > > that quite a number of JavaScript components are not being > found > > > > > > > > > (404s). Any advice would be appreciated. > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > Steve Hiller > > > > > > > > > > > > > > > > > > -- > > > > > > > > > This email message is for the sole use of the intended > > > > recipient(s) > > > > > > and > > > > > > > > > may > > > > > > > > > contain confidential and privileged information. Any > unauthorized > > > > > > review, > > > > > > > > > use, disclosure or distribution is prohibited. If you are > not the > > > > > > intended > > > > > > > > > recipient, please contact the sender by reply email and > destroy > > > > all > > > > > > copies > > > > > > > > > of the original message. > > > > > > > > > > > > > > > > > -- > > > > > > > > Clebert Suconic > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Steve Hiller > > > > > > > Manager, Software Development (Engagement) > > > > > > > > > > > > > > Randstad > > > > > > > 6750 North Andrews Avenue > > > > > > > Ft. Lauderdale, FL 33309 > > > > > > > 954.308.8230 (o) > > > > > > > 954.483.8452 (m) > > > > > > > steve.hil...@randstadusa.com > > > > > > > www.randstad.com > > > > > > > > > > > > > > This email message is for the sole use of the intended > recipient(s) > > > > > > > and may contain confidential and privileged information. Any > > > > > > > unauthorized review, use, disclosure or distribution is > prohibited. > > > > > > > If you are not the intended recipient, please contact the > sender by > > > > > > > reply email and destroy all copies of the original message. > > > > > > > > > > > > > > -- > > > > > > > This email message is for the sole use of the intended > recipient(s) > > > > and > > > > > > may > > > > > > > contain confidential and privileged information. Any > unauthorized > > > > review, > > > > > > > use, disclosure or distribution is prohibited. If you are not > the > > > > > > intended > > > > > > > recipient, please contact the sender by reply email and > destroy all > > > > > > copies > > > > > > > of the original message. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Clebert Suconic > > > > > > > > > > > > > > > > > > > > > > -- > > > > Steve Hiller > > > > Manager, Software Development (Engagement) > > > > > > > > Randstad > > > > 6750 North Andrews Avenue > > > > Ft. Lauderdale, FL 33309 > > > > 954.308.8230 (o) > > > > 954.483.8452 (m) > > > > steve.hil...@randstadusa.com > > > > www.randstad.com > > > > > > > > This email message is for the sole use of the intended recipient(s) > > > > and may contain confidential and privileged information. Any > > > > unauthorized review, use, disclosure or distribution is prohibited. > > > > If you are not the intended recipient, please contact the sender by > > > > reply email and destroy all copies of the original message. > > > > > > > > -- > > > > This email message is for the sole use of the intended recipient(s) > and > > > > may > > > > contain confidential and privileged information. Any unauthorized > review, > > > > use, disclosure or distribution is prohibited. If you are not the > intended > > > > recipient, please contact the sender by reply email and destroy all > copies > > > > of the original message. > > > > > > > > > > > > -- > > Steve Hiller > > Manager, Software Development (Engagement) > > > > Randstad > > 6750 North Andrews Avenue > > Ft. Lauderdale, FL 33309 > > 954.308.8230 (o) > > 954.483.8452 (m) > > steve.hil...@randstadusa.com > > www.randstad.com > > > > This email message is for the sole use of the intended recipient(s) > > and may contain confidential and privileged information. Any > > unauthorized review, use, disclosure or distribution is prohibited. > > If you are not the intended recipient, please contact the sender by > > reply email and destroy all copies of the original message. > > -- > This email message is for the sole use of the intended recipient(s) and > may > contain confidential and privileged information. Any unauthorized review, > use, disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all copies > of the original message. >