You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by imranrazakhan <im...@gmail.com> on 2018/11/09 16:29:43 UTC
Recommended Way to expose Karaf WebConsole in Kubernetes
Hi,
I want to expose Karaf WebConsole "http://localhost:8181/system/console" out
of Kubernetes/openshift cluster, Whats recommendation keeping in view
security?
I have created service like below
- apiVersion: v1
kind: Service
metadata:
name: karaf
spec:
externalIPs:
- 10.x.x.x
type: NodePort
ports:
- port: 8181
nodePort: 30001
name: http
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Re: Recommended Way to expose Karaf WebConsole in Kubernetes
Posted by imranrazakhan <im...@gmail.com>.
I have deployed Jboss AMQ it showing "Open Java Console" link under pods, how
we can achieve same for karaf. Image attached
<http://karaf.922171.n3.nabble.com/file/t498060/openshift10.png>
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Re: Recommended Way to expose Karaf WebConsole in Kubernetes
Posted by Francois Papon <fr...@openobject.fr>.
Hi,
You can expose the webconsole over HTTPS instead of HTTP :
http://karaf.apache.org/manual/latest/#_webcontainer_jsp_servlet
regards,
François Papon
fpapon@apache.org
Le 09/11/2018 à 20:29, imranrazakhan a écrit :
> Hi,
>
> I want to expose Karaf WebConsole "http://localhost:8181/system/console" out
> of Kubernetes/openshift cluster, Whats recommendation keeping in view
> security?
>
> I have created service like below
>
> - apiVersion: v1
> kind: Service
> metadata:
> name: karaf
> spec:
> externalIPs:
> - 10.x.x.x
> type: NodePort
> ports:
> - port: 8181
> nodePort: 30001
> name: http
>
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html