dockerregistry

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

README

to# Docker Registry omg plugin

This plugin extends omg to be able to deploy the a HA docker-registry with NFS server shared by 1-N registry nodes and a Proxy to route https traffic to registry nodes running on port 5000.

Download OMG

https://github.com/enaml-ops/omg-cli/releases/latest

Download Docker Registry Plugin

https://github.com/enaml-ops/omg-product-bundle/releases/latest

Don't forget to make the plugin executable before installing it.

Install Plugin

omg-osx register-plugin -type product -pluginpath ./docker-registry-plugin-osx

Verify installation with:

omg-osx list-products

Deploy Docker Registry

./omg-osx deploy-product \
--bosh-url <bosh-url> \
--bosh-port 25555 \
--bosh-user <bosh-user> \
--bosh-pass <bosh-pwd> \
--ssl-ignore \
--print-manifest \
concourse-plugin-osx \
--web-ip 192.168.10.31 \
--web-ip 192.168.10.32 \
--web-vm-type medium \
--worker-vm-type large.cpu \
--database-vm-type large.cpu \
--network-name concourse \
--concourse-ip 10.0.100.1 \
--concourse-username concourse \
--az z1 \
--database-storage-type medium \
--worker-instance-count 2

Tips and tricks

  • Set LOG_LEVEL=debug for verbose output

  • Add the --print-manifest flag to see the manifest you are about to deploy:

    omg deploy-product --print-manifest ...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerRegistry

type DockerRegistry struct {
	DeploymentName           string
	DockerRegistryReleaseVer string
	DockerRegistryReleaseURL string
	DockerRegistryReleaseSHA string
	StemcellVersion          string
	StemcellAlias            string
	StemcellOS               string
	AZs                      []string
	NetworkName              string
	RegistryVMType           string
	RegistryIPs              []string
	ProxyVMType              string
	ProxyIPs                 []string
	PublicIP                 []string
	ProxyCert                string
	ProxyCertKey             string
	NFSServerVMType          string
	NFSDiskType              string
	NFSIP                    string
	Secret                   string
}

func (*DockerRegistry) CreateDeploymentManifest

func (d *DockerRegistry) CreateDeploymentManifest(cloudConfig []byte) (*enaml.DeploymentManifest, error)

func (*DockerRegistry) CreateNFSServerInstanceGroup

func (d *DockerRegistry) CreateNFSServerInstanceGroup() *enaml.InstanceGroup

func (*DockerRegistry) CreateProxyInstanceGroup

func (d *DockerRegistry) CreateProxyInstanceGroup() *enaml.InstanceGroup

func (*DockerRegistry) CreateRegistryInstanceGroup

func (d *DockerRegistry) CreateRegistryInstanceGroup() *enaml.InstanceGroup

func (*DockerRegistry) CreateUpdate

func (d *DockerRegistry) CreateUpdate() (update enaml.Update)

Directories

Path Synopsis
cmd
enaml-gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL