💄 Fixes file formatting

This commit is contained in:
Daniel Svitan 2025-05-26 09:43:28 +02:00
parent 4cff09e3c9
commit a3ea1feb46
3 changed files with 45 additions and 46 deletions

View File

@ -16,24 +16,24 @@ spec:
app: porty
spec:
containers:
- name: porty
image: gitea.svitan.dev/streamer272/svitan.dev:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
protocol: TCP
resources:
requests:
cpu: "500m"
memory: "32Mi"
limits:
cpu: "2000m"
memory: "256Mi"
livenessProbe:
httpGet:
port: 3000
path: /
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
- name: porty
image: gitea.svitan.dev/streamer272/svitan.dev:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
protocol: TCP
resources:
requests:
cpu: "500m"
memory: "32Mi"
limits:
cpu: "2000m"
memory: "256Mi"
livenessProbe: # if liveness fails, container is restarted
httpGet:
port: 3000
path: /
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3

View File

@ -4,24 +4,24 @@ metadata:
name: portfolio
spec:
containers:
- image: gitea.svitan.dev/streamer272/svitan.dev:latest
name: portfolio
ports:
- containerPort: 3000
name: http
protocol: TCP
resources:
requests:
cpu: "500m"
memory: "32Mi"
limits:
cpu: "2000m"
memory: "256Mi"
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
- image: gitea.svitan.dev/streamer272/svitan.dev:latest
name: portfolio
ports:
- containerPort: 3000
name: http
protocol: TCP
resources:
requests:
cpu: "500m"
memory: "32Mi"
limits:
cpu: "2000m"
memory: "256Mi"
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3

View File

@ -6,8 +6,7 @@ spec:
selector:
app: porty
ports:
- protocol: TCP
port: 3000
targetPort: 3000
- protocol: TCP
port: 3000 # this is the port the users will access, so probably should be 80
targetPort: 3000
type: LoadBalancer