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