💄 Fixes file formatting
This commit is contained in:
parent
4cff09e3c9
commit
a3ea1feb46
@ -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
|
||||
|
42
k3s-pod.yaml
42
k3s-pod.yaml
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user