Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit 4053e51

Browse files
authored
Merge pull request #901 from mboersma/revert-registry-proxy
Revert "fix(registry): use the proxy port and local host to connect t…
2 parents 356683b + 78dd311 commit 4053e51

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The Deis project welcomes contributions from all developers. The high level proc
3737

3838
In order to do development on this component, you'll need a working Kubernetes cluster. If you don't have one, follow the [installation instructions][install-k8s] and note that Controller currently targets version 1.2 and higher with the following requirements:
3939

40+
* Docker's `insecure-registry` parameter must include the subnets used by your Kubernetes installation
41+
4042
### Helm Classic
4143

4244
After you have a working Kubernetes cluster, install [helm classic](http://helm.sh) and run the following commands to add the Deis chart repository and install Deis to your new cluster:

rootfs/api/settings/production.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@
280280
KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS = int(os.environ.get('KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS', 30)) # noqa
281281

282282
# registry settings
283-
REGISTRY_HOST = "localhost"
284-
REGISTRY_PORT = os.environ.get('DEIS_REGISTRY_PROXY_PORT', 5555)
283+
REGISTRY_HOST = os.environ.get('DEIS_REGISTRY_SERVICE_HOST', '127.0.0.1')
284+
REGISTRY_PORT = os.environ.get('DEIS_REGISTRY_SERVICE_PORT', 5000)
285285
REGISTRY_URL = '{}:{}'.format(REGISTRY_HOST, REGISTRY_PORT)
286286

287287
# logger settings

0 commit comments

Comments
 (0)