You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioan Eugen Stan (JIRA)" <ji...@apache.org> on 2018/06/22 04:08:00 UTC
[jira] [Comment Edited] (KARAF-5644) Add docker feature
[ https://issues.apache.org/jira/browse/KARAF-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519990#comment-16519990 ]
Ioan Eugen Stan edited comment on KARAF-5644 at 6/22/18 4:07 AM:
-----------------------------------------------------------------
Related to deploying karaf as docker I think we need to make all updatable data sit under a single directory, separated from the directories which don't change (bin, system?)
The reason is that now, I have to declare a volume for each volatile directory so that we can keep state between restarts.
This is useful for Kubernetes deployments. Right now I have to define multiple volumes for a single karaf instance - this is very hard to manage - esp in use cases where you don't have automatic provisioning.
Example:
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}etc
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}data
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}deploy
...
...
was (Author: ieugen):
Related to deploying karaf as docker I think we need to make all updatable data sit under a single directory, separated from the fixed directories.
The reason is that now, I have to declare a volume for each volatile directory so that we can keep state between restarts.
This is useful for Kubernetes deployments. Right now I have to define multiple volumes for a single karaf instance - this is very hard to manage - esp in use cases where you don't have automatic provisioning.
Example:
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}etc
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}data
{color:#cc7832}VOLUME /{color}opt{color:#cc7832}/{color}gr8pi-portal{color:#cc7832}/{color}deploy
...
> Add docker feature
> ------------------
>
> Key: KARAF-5644
> URL: https://issues.apache.org/jira/browse/KARAF-5644
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-core
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.2.1
>
>
> As discussed on the mailing list, we gonna add the karaf-docker feature right now on PoC:
> https://github.com/jbonofre/karaf-docker
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)