add argocd and argo events labs content

This commit is contained in:
Daniel Aberger
2024-02-13 14:08:53 +01:00
parent fb4fc903ed
commit a34ad56115
3 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-example-app
spec:
replicas: 2 # You can adjust the number of replicas
selector:
matchLabels:
app: argocd-example-app
template:
metadata:
labels:
app: argocd-example-app
spec:
containers:
- name: argocd-example-app
image: liquidreply/argocd-example-app:1
ports:
- containerPort: 3000 # Assuming your app runs on port 3000

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: argocd-example-app-service
spec:
type: NodePort
selector:
app: argocd-example-app
ports:
- port: 3000
targetPort: 3000
nodePort: 31000 # Optional: Kubernetes will choose a port if this is omitted