Skip to content

Commit becccab

Browse files
author
Keerthan Reddy Mala
committed
fix(registry): use the proxy port and local host to connect to registry
1 parent ae9c76c commit becccab

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ 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-
4240
### Helm Classic
4341

4442
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
@@ -269,8 +269,8 @@
269269
KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS = int(os.environ.get('KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS', 30)) # noqa
270270

271271
# registry settings
272-
REGISTRY_HOST = os.environ.get('DEIS_REGISTRY_SERVICE_HOST', '127.0.0.1')
273-
REGISTRY_PORT = os.environ.get('DEIS_REGISTRY_SERVICE_PORT', 5000)
272+
REGISTRY_HOST = "localhost"
273+
REGISTRY_PORT = os.environ.get('DEIS_REGISTRY_PROXY_PORT', 5555)
274274
REGISTRY_URL = '{}:{}'.format(REGISTRY_HOST, REGISTRY_PORT)
275275

276276
# logger settings

0 commit comments

Comments
 (0)