Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elthariel/kubernetes-npm-proxy-cache
A kubernetes deployment for npm-proxy
https://github.com/elthariel/kubernetes-npm-proxy-cache
Last synced: 8 days ago
JSON representation
A kubernetes deployment for npm-proxy
- Host: GitHub
- URL: https://github.com/elthariel/kubernetes-npm-proxy-cache
- Owner: elthariel
- Created: 2016-12-15T16:23:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T16:56:58.000Z (almost 8 years ago)
- Last Synced: 2024-10-16T22:04:15.550Z (about 2 months ago)
- Size: 1.95 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kubernetes-npm-proxy-cache
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.
## How to use it
First, deploy the proxy cache on your kubernetes cluster:
``` shellsession
$> 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:
``` shellsession
$> 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
```