Skip to content

Commit 5494740

Browse files
Merge pull request #107 from CodeForPhilly/releases/k8s-manifests
Deploy releases/k8s-manifests f6ed18c
2 parents 7bcd6b4 + f6ed18c commit 5494740

File tree

14 files changed

+82
-318
lines changed

14 files changed

+82
-318
lines changed

balancer/ConfigMap/backend-env.yaml

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

balancer/ConfigMap/nginx-conf.yaml

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

balancer/Deployment/backend.yaml

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

balancer/Deployment/balancer.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
labels:
5+
app: balancer
6+
name: balancer
7+
namespace: balancer
8+
spec:
9+
replicas: 1
10+
selector:
11+
matchLabels:
12+
app: balancer
13+
strategy: {}
14+
template:
15+
metadata:
16+
labels:
17+
app: balancer
18+
spec:
19+
containers:
20+
- envFrom:
21+
- secretRef:
22+
name: balancer-config
23+
image: ghcr.io/codeforphilly/balancer-main/app:1.1.1
24+
name: app
25+
ports:
26+
- containerPort: 8000
27+
readinessProbe:
28+
httpGet:
29+
path: /admin/
30+
port: 8000
31+
initialDelaySeconds: 30
32+
periodSeconds: 10

balancer/Deployment/frontend.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ kind: Ingress
33
metadata:
44
annotations:
55
cert-manager.io/cluster-issuer: letsencrypt-prod
6-
kubernetes.io/ingress.class: nginx
7-
name: balancer-ingress
6+
name: balancer
87
namespace: balancer
98
spec:
9+
ingressClassName: nginx
1010
rules:
1111
- host: balancer.sandbox.k8s.phl.io
1212
http:
1313
paths:
1414
- backend:
1515
service:
16-
name: frontend
16+
name: balancer
1717
port:
18-
name: http
18+
number: 8000
1919
path: /
2020
pathType: Prefix
2121
tls:

balancer/PersistentVolumeClaim/postgres-data-claim.yaml

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

balancer/SealedSecret/backend.yaml

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

0 commit comments

Comments
 (0)