+ app test

This commit is contained in:
2025-11-17 21:22:05 +01:00
parent eee91b2f42
commit abe91231a5
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# demo-app
### Installation:
To install this application using the `argocd-autopilot`, assuming you already have gone through the [bootstrap process](https://argocd-autopilot.readthedocs.io/en/latest/Getting-Started/), run the following:
```bash
argocd-autopilot app create hello-world --app github.com/Mathod95/courses/courses_002/apps/examples -p production
```

View File

@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: simple-deployment
spec:
replicas: 1
selector:
matchLabels:
app: trivial-go-web-app
template:
metadata:
labels:
app: trivial-go-web-app
spec:
containers:
- name: webserver-simple
image: docker.io/kostiscodefresh/simple-web-app:3d9b390
ports:
- containerPort: 8080

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./deployment.yaml
- ./service.yaml

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: simple-service
spec:
selector:
app: trivial-go-web-app
ports:
- protocol: TCP
port: 80
targetPort: 8080