A simple proxy cache to speed up npm installs on your kubernetes cluster
10K+
Make npm install much faster on your kubernetes deployment, by
deploying a small internal proxy cache for your deployment.
This has been hacked together to make our Jenkins build faster.
First, deploy the proxy cache on your kubernetes cluster:
$> kubectl apply -f https://github.com/elthariel/kubernetes-npm-proxy-cache/raw/master/npm-proxy-cache.yml
deployment "npm-proxy-cache-deployment" created
service "npm-proxy-cache-service" created
Then, anywhere in your Kubernetes cluster:
$> npm config set proxy http://npm-proxy-cache-service
$> npm config set https-proxy http://npm-proxy-cache-service
$> npm config set strict-ssl false
$> npm install
Content type
Image
Digest
Size
212.8 MB
Last updated
almost 10 years ago
docker pull elthariel/kubernetes-npm-proxy-cache