- DO Kubernetes cluster
- Kubectl
- Docker
- Clone this repo
- Run
docker build -t yourdomainname:5000/test .
- Edit
deployment.yaml
and change the domain name to your domain name - Run
kubectl apply -f deployment.yaml
- Wait for the load balancer to be created
- Update your DNS A record of your domain name to point to the load balancer IP
- Wait for the DNS to propagate
- Add your domain (e.g.
yourdomainname:5000
) to the list ofinsecure-registries
in Docker Engine's settings or in the config file. docker login yourdomainname:5000 -u testuser -p digitaloceanloadbalancerissue
docker push yourdomainname:5000/test
A 413 Entity too large, with the message cloudflare
will be returned.