+ app test
This commit is contained in:
6
bootstrap/apps/examples/README.md
Normal file
6
bootstrap/apps/examples/README.md
Normal 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
|
||||
```
|
||||
19
bootstrap/apps/examples/deployment.yaml
Normal file
19
bootstrap/apps/examples/deployment.yaml
Normal 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
|
||||
5
bootstrap/apps/examples/kustomization.yaml
Normal file
5
bootstrap/apps/examples/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
11
bootstrap/apps/examples/service.yaml
Normal file
11
bootstrap/apps/examples/service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user