How to create Kubernetes Cluster using Kops with insecure registry?

5/14/2017

I have to create a cluster with support of insecure docker registry. I want to use Kops for this. Is there any way to create cluster with insecure registry using Kops?

-- Nur Rony
kops
kubectl
kubernetes

1 Answer

9/7/2017

You can set insecure registry at cluster config edit time, after kops create cluster ... command (navigate to clusterSpec part of file):

$ kops edit cluster $NAME
...
 docker:
    insecureRegistry: registry.example.com
    logDriver: json-file
...

Original link

-- sherpc
Source: StackOverflow