Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions balancer/ConfigMap/backend-env.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions balancer/ConfigMap/nginx-conf.yaml

This file was deleted.

55 changes: 0 additions & 55 deletions balancer/Deployment/backend.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions balancer/Deployment/balancer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: balancer
name: balancer
namespace: balancer
spec:
replicas: 1
selector:
matchLabels:
app: balancer
strategy: {}
template:
metadata:
labels:
app: balancer
spec:
containers:
- envFrom:
- secretRef:
name: balancer-config
image: ghcr.io/codeforphilly/balancer-main/app:1.1.1
name: app
ports:
- containerPort: 8000
readinessProbe:
httpGet:
path: /admin/
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
43 changes: 0 additions & 43 deletions balancer/Deployment/frontend.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
name: balancer-ingress
name: balancer
namespace: balancer
spec:
ingressClassName: nginx
rules:
- host: balancer.sandbox.k8s.phl.io
http:
paths:
- backend:
service:
name: frontend
name: balancer
port:
name: http
number: 8000
path: /
pathType: Prefix
tls:
Expand Down
13 changes: 0 additions & 13 deletions balancer/PersistentVolumeClaim/postgres-data-claim.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions balancer/SealedSecret/backend.yaml

This file was deleted.

Loading