Skip to content

Commit

Permalink
argocd
Browse files Browse the repository at this point in the history
tenia estos archivos en el raiz, pero al tratar de crear la app de argocd, me trata de interpretar package.json que es del projecto de react y explota.
  • Loading branch information
edgar4all committed Jan 9, 2024
1 parent 2ef403a commit b54b387
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
27 changes: 27 additions & 0 deletions argocd/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: react-todo-list
namespace: nstodolist
labels:
app: react-todo-list
spec:
replicas: 2
selector:
matchLabels:
app: react-todo-list
strategy:
type: RollingUpdate # Update strategy
rollingUpdate:
maxSurge: 1 # MaxPods adicionales cuando updeteamos
maxUnavailable: 0
template:
metadata:
labels:
app: react-todo-list
spec:
containers:
- name: website
image: edgar4all/react-todo-list:3
ports:
- containerPort: 3000
6 changes: 6 additions & 0 deletions argocd/ns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: nstodolist
labels:
kname: nstodolist

0 comments on commit b54b387

Please sign in to comment.