Setup a private registry on K3s

Zhimin Wen
ITNEXT
Published in
2 min readJun 23, 2019

--

I need to set up a private registry recently to demonstrate some of the Kubernetes features. Docker-registry helm chart on the lightweight Kubernetes, K3s, serves my purposes nicely.

1. Create a Certificate

Create a self-sign cert with the cfssl tool.

Prepare the following myca.json file

{
"CN": "k3s",
"hosts"…

--

--