Basic argo deployment
This commit is contained in:
33
.argo/deployment.yaml
Normal file
33
.argo/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: npm-cache
|
||||
namespace: gutfeel
|
||||
labels:
|
||||
app: npm-cache
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: npm-cache
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: npm-cache
|
||||
spec:
|
||||
containers:
|
||||
- name: npm-cache
|
||||
image: registry.odit.services/library/npm-cache-proxy:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: web
|
||||
env:
|
||||
- name: CACHE_TTL
|
||||
value: "43200"
|
||||
- name: LISTEN_ADDRESS
|
||||
value: "0.0.0.0:8080"
|
||||
- name: UPSTREAM_ADDRESS
|
||||
value: "https://registry.npmjs.org"
|
||||
restartPolicy: Always
|
||||
Reference in New Issue
Block a user