Skip to content

Commit 52ea86a

Browse files
committed
Add TODO to each readme to help in future search fo changes
1 parent 578c92f commit 52ea86a

8 files changed

Lines changed: 117 additions & 204 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
TODO
2+
13
# GitHub Actions CI/CD
24

35
Documentation for workflows and automation.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Microservices Demo - AWS Deployment
1+
TODO
2+
3+
# Microservices Demo - AWS Deployment
24

35
[![Terraform Apply](https://github.com/JustFiesta/microservices-deployment/actions/workflows/terraform-apply.yaml/badge.svg)](https://github.com/JustFiesta/microservices-deployment/actions/workflows/terraform-apply.yaml) [![Build](https://github.com/JustFiesta/microservices-deployment/actions/workflows/ci.yaml/badge.svg)](https://github.com/JustFiesta/microservices-deployment/actions/workflows/ci.yaml)
46

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TODO
22

3-
- Manifesty k8s dla apki oraz ArgoCD (+ Kustomize)
3+
- Manifesty k8s dla apki oraz ArgoCD
44
- Pipeline dla K8s manifestów - promowanie powinno zmieniać pliki,
55
- Test deploy
66
- Poprawki dokumentacji - opis replikacji (od forka do pełnego działania)

kubernetes/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO

kubernetes/adservice.yaml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: adservice
5+
labels:
6+
app: adservice
7+
app.kubernetes.io/name: adservice
8+
app.kubernetes.io/component: backend
9+
app.kubernetes.io/part-of: microservices-demo
10+
spec:
11+
replicas: 1
12+
selector:
13+
matchLabels:
14+
app: adservice
15+
template:
16+
metadata:
17+
labels:
18+
app: adservice
19+
app.kubernetes.io/name: adservice
20+
app.kubernetes.io/component: backend
21+
app.kubernetes.io/part-of: microservices-demo
22+
spec:
23+
serviceAccountName: adservice
24+
terminationGracePeriodSeconds: 5
25+
securityContext:
26+
fsGroup: 1000
27+
runAsGroup: 1000
28+
runAsNonRoot: true
29+
runAsUser: 1000
30+
containers:
31+
- name: server
32+
image: adservice:latest # To be overridden by Kustomize or Helm
33+
imagePullPolicy: IfNotPresent
34+
ports:
35+
- name: grpc
36+
containerPort: 9555
37+
protocol: TCP
38+
env:
39+
- name: PORT
40+
value: "9555"
41+
# Optional: Disable telemetry if not configured
42+
- name: DISABLE_STATS
43+
value: "1"
44+
- name: DISABLE_TRACING
45+
value: "1"
46+
resources:
47+
requests:
48+
cpu: 200m
49+
memory: 180Mi
50+
limits:
51+
cpu: 300m
52+
memory: 300Mi
53+
readinessProbe:
54+
grpc:
55+
port: 9555
56+
initialDelaySeconds: 20
57+
periodSeconds: 15
58+
timeoutSeconds: 5
59+
failureThreshold: 3
60+
livenessProbe:
61+
grpc:
62+
port: 9555
63+
initialDelaySeconds: 20
64+
periodSeconds: 15
65+
timeoutSeconds: 5
66+
failureThreshold: 3
67+
securityContext:
68+
allowPrivilegeEscalation: false
69+
capabilities:
70+
drop:
71+
- ALL
72+
privileged: false
73+
readOnlyRootFilesystem: true
74+
75+
---
76+
77+
apiVersion: v1
78+
kind: Service
79+
metadata:
80+
name: adservice
81+
labels:
82+
app: adservice
83+
app.kubernetes.io/name: adservice
84+
app.kubernetes.io/component: backend
85+
app.kubernetes.io/part-of: microservices-demo
86+
spec:
87+
type: ClusterIP
88+
selector:
89+
app: adservice
90+
ports:
91+
- name: grpc
92+
port: 9555
93+
targetPort: 9555
94+
protocol: TCP
95+
96+
---
97+
98+
apiVersion: v1
99+
kind: ServiceAccount
100+
metadata:
101+
name: adservice
102+
labels:
103+
app: adservice
104+
app.kubernetes.io/name: adservice
105+
app.kubernetes.io/component: backend
106+
app.kubernetes.io/part-of: microservices-demo

microservices-demo/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

microservices-demo/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
TODO
2+
13
<!-- <p align="center">
24
<img src="/src/frontend/static/icons/Hipster_HeroLogoMaroon.svg" width="300" alt="Online Boutique" />
35
</p> -->

terraform/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
TODO
2+
13
# Terraform Infrastructure
24

35
Documentation for AWS infrastructure managed by Terraform.

0 commit comments

Comments
 (0)