[kolla] Repository setup in non-internet environment.
Hi,
I'm thinking about the deployment in non-internet environment. As we know Kolla has already prepared docker registry and kolla-build to let user can create local registry for deployment. But there's still have two problem about non-internet deployment.
1. Docker-ce repository. 2. Pip repository. (Also having others perhaps.)
Does Kolla planning to support non-internet deployment? I would like to do this if possible.
Looking forward to hearing from you, Eddie.
Hello Eddie,
We would welcome such a feature of course!
-yoctozepto
śr., 6 lis 2019 o 13:31 Eddie Yen missile0407@gmail.com napisał(a):
Hi,
I'm thinking about the deployment in non-internet environment. As we know Kolla has already prepared docker registry and kolla-build to let user can create local registry for deployment. But there's still have two problem about non-internet deployment.
- Docker-ce repository.
- Pip repository.
(Also having others perhaps.)
Does Kolla planning to support non-internet deployment? I would like to do this if possible.
Looking forward to hearing from you, Eddie.
Hello Eddie.
On 6. Nov 2019, at 13:28, Eddie Yen missile0407@gmail.com wrote:
- Docker-ce repository.
Use an APT mirror. For example Aptly.
- Pip repository.
(Also having others perhaps.)
Packages from Pypi should no longer be necessary for the use of Kolle-Ansible. For some time now.
If that's still the case, use a Pypi Mirror. For example Devpi.
The Docker images can also be mirrored. Use a local Docker registry to do this.
The use of an HTTP proxy like Squid is also possible. This proxy must have online access.
The use of Nexus OSS is also a possibility. Then you only have one central mirror service.
If you want to build completely offline you can't avoid single mirrors for the single packages (Docker, APT, Pypi).
We provide a role under https://github.com/osism/ansible-mirror to deploy individual mirror services with Docker Compose.
Does Kolla planning to support non-internet deployment? I would like to do this if possible.
This is already possible and we do this very often.
HTH, Christian.
Hi Christian, thanks for your reply and suggestion.
In some cases we met, all kinds of internet access method (proxy server, mobile internet, etc.) are restricted. And in some previous release (like Rocky), pip packages still necessary. So we will prepare the whole local repository and registry in this kind of environment.
When kolla-ansible going to bootstrapping servers, it will insert docker-ce repository. But this is already hard-coded (pointed to download.docker.com). Also no pip local repository setup during bootstrapping. So I gonna do is let them become functional. User can configure local docker-ce and pip repository in globals.yml directly if needed.
BTW, glad to know about ansible-mirror. I'd like to try it if I have a time.
Many thanks, Eddie.
Christian Berendt berendt@betacloud-solutions.de 於 2019年11月7日 週四 下午5:25寫道:
Hello Eddie.
On 6. Nov 2019, at 13:28, Eddie Yen missile0407@gmail.com wrote:
- Docker-ce repository.
Use an APT mirror. For example Aptly.
- Pip repository.
(Also having others perhaps.)
Packages from Pypi should no longer be necessary for the use of Kolle-Ansible. For some time now.
If that's still the case, use a Pypi Mirror. For example Devpi.
The Docker images can also be mirrored. Use a local Docker registry to do this.
The use of an HTTP proxy like Squid is also possible. This proxy must have online access.
The use of Nexus OSS is also a possibility. Then you only have one central mirror service.
If you want to build completely offline you can't avoid single mirrors for the single packages (Docker, APT, Pypi).
We provide a role under https://github.com/osism/ansible-mirror to deploy individual mirror services with Docker Compose.
Does Kolla planning to support non-internet deployment? I would like to
do this if possible.
This is already possible and we do this very often.
HTH, Christian.
-- Christian Berendt Chief Executive Officer (CEO)
Mail: berendt@betacloud-solutions.de Web: https://www.betacloud-solutions.de
Betacloud Solutions GmbH Teckstrasse 62 / 70190 Stuttgart / Deutschland
Geschäftsführer: Christian Berendt Unternehmenssitz: Stuttgart Amtsgericht: Stuttgart, HRB 756139
On Thu, 7 Nov 2019 at 09:26, Christian Berendt berendt@betacloud-solutions.de wrote:
Hello Eddie.
On 6. Nov 2019, at 13:28, Eddie Yen missile0407@gmail.com wrote:
- Docker-ce repository.
Use an APT mirror. For example Aptly.
Or yum if using CentOS. Pulp or artifactory or $other should work. Presumably there is already some mirror solution for your OS packages?
- Pip repository.
(Also having others perhaps.)
Packages from Pypi should no longer be necessary for the use of Kolle-Ansible. For some time now.
You at least need to install Kolla Ansible's Python dependencies. You could consider building a docker image containing Kolla Ansible and using this for your deployments, if that helps.
In kolla-ansible bootstrap-servers we also use the easy_install and pip Ansible modules to install pip and the Docker python package.
If that's still the case, use a Pypi Mirror. For example Devpi.
The Docker images can also be mirrored. Use a local Docker registry to do this.
The use of an HTTP proxy like Squid is also possible. This proxy must have online access.
The use of Nexus OSS is also a possibility. Then you only have one central mirror service.
If you want to build completely offline you can't avoid single mirrors for the single packages (Docker, APT, Pypi).
We provide a role under https://github.com/osism/ansible-mirror to deploy individual mirror services with Docker Compose.
Does Kolla planning to support non-internet deployment? I would like to do this if possible.
This is already possible and we do this very often.
HTH, Christian.
-- Christian Berendt Chief Executive Officer (CEO)
Mail: berendt@betacloud-solutions.de Web: https://www.betacloud-solutions.de
Betacloud Solutions GmbH Teckstrasse 62 / 70190 Stuttgart / Deutschland
Geschäftsführer: Christian Berendt Unternehmenssitz: Stuttgart Amtsgericht: Stuttgart, HRB 756139
Hello Mark.
On 7. Nov 2019, at 11:48, Mark Goddard mark@stackhpc.com wrote:
You at least need to install Kolla Ansible's Python dependencies. You could consider building a docker image containing Kolla Ansible and using this for your deployments, if that helps.
That's right. That's why we put it in images to avoid this problem with Pypi. Works very well in everyday life.
Christian.
participants (4)
-
Christian Berendt
-
Eddie Yen
-
Mark Goddard
-
Radosław Piliszek