Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create blank docker registry on Master #4

Open
edsealing opened this issue Dec 28, 2017 · 2 comments
Open

Create blank docker registry on Master #4

edsealing opened this issue Dec 28, 2017 · 2 comments

Comments

@edsealing
Copy link
Contributor

We have three options:

  1. Create a blank registry in an RPM and deploy as part of the initial build. Once this is done, we would need to build the necessary Tools and push them to the blank registry.
    BENEFITS: Easier to manage the nginx proxy forwarding and baseline configuration
    DISADVANTAGES: Tools would need to be built and pushed to the registry every time that you rebuild.

  2. Create a master RPM that deploys a registry with the baseline set of tools already
    BENEFITS: Fully automated deployment of all tools.
    DISADVANTAGES: Very large RPM means very large deployment image

  3. Manage an external registry.
    BENEFITS: Better ability to collaborate quickly on the tools.
    DISADVANTAGES: Builds would have to have access to the registry to complete.

@edsealing
Copy link
Contributor Author

ext-packages/edcop-registry/edcop-registry-copy-only.spec : Creates an RPM that puts the docker-registry container onto the system. Currently, the firstboot service loads the registry into docker and starts the container.

Proxy configs have been added to NGINX to provide TLS and forwarding to the registry container.

The CA certificate that is generated to sign the webserver is distributed and trusted to the minions as part of the install.

NOTE: Future TODO is to break-out the nginx into an ingress server.

@edsealing
Copy link
Contributor Author

Registry needs to be added to Kubernetes, rather than running on a local docker instance.

See https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/registry for more info.

@edsealing edsealing reopened this Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant