Compare commits
No commits in common. "36a4adc02bd15daed3d86af656a7eab87d2b4aa3" and "7fbe57fc90e9547cf7b67d772d2544075ef97ca2" have entirely different histories.
36a4adc02b
...
7fbe57fc90
@ -33,10 +33,9 @@ spec:
|
||||
runAsUser: 991
|
||||
runAsGroup: 991
|
||||
fsGroup: 991
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
containers:
|
||||
- name: mastodon-web
|
||||
image: ghcr.io/mastodon/mastodon:v4.3.8
|
||||
image: ghcr.io/mastodon/mastodon:v4.3.7
|
||||
command: ["bundle", "exec", "puma", "-C", "config/puma.rb"]
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
@ -122,7 +121,7 @@ spec:
|
||||
- mountPath: "/mastodon/public/system"
|
||||
name: mastodon-data
|
||||
- name: mastodon-streaming
|
||||
image: ghcr.io/mastodon/mastodon-streaming:v4.3.8
|
||||
image: ghcr.io/mastodon/mastodon-streaming:v4.3.7
|
||||
command: ["node", "./streaming/index.js"]
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
@ -148,7 +147,7 @@ spec:
|
||||
- name: REDIS_PORT
|
||||
value: "6379"
|
||||
- name: mastodon-sidekiq
|
||||
image: ghcr.io/mastodon/mastodon:v4.3.8
|
||||
image: ghcr.io/mastodon/mastodon:v4.3.7
|
||||
command: ["bundle", "exec", "sidekiq"]
|
||||
ports:
|
||||
- containerPort: 9395
|
||||
@ -216,48 +215,6 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: "/mastodon/public/system"
|
||||
name: mastodon-data
|
||||
volumes:
|
||||
- name: mastodon-data
|
||||
persistentVolumeClaim:
|
||||
claimName: mastodon-pvc
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: redis
|
||||
namespace: mastodon
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: redis
|
||||
spec:
|
||||
affinity:
|
||||
podAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: cnpg.io/cluster
|
||||
operator: In
|
||||
values:
|
||||
- mastodon-db
|
||||
- key: cnpg.io/instanceRole
|
||||
operator: In
|
||||
values:
|
||||
- primary
|
||||
topologyKey: "kubernetes.io/hostname"
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:7.4.2
|
||||
ports:
|
||||
@ -266,6 +223,9 @@ spec:
|
||||
- mountPath: "/data"
|
||||
name: redis-data
|
||||
volumes:
|
||||
- name: mastodon-data
|
||||
persistentVolumeClaim:
|
||||
claimName: mastodon-pvc
|
||||
- name: redis-data
|
||||
persistentVolumeClaim:
|
||||
claimName: redis-pvc
|
||||
|
@ -14,12 +14,14 @@ spec:
|
||||
storage: 50Gi
|
||||
storageClassName: redundant-storage-class
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: redis-pvc
|
||||
namespace: mastodon
|
||||
labels:
|
||||
recurring-job.longhorn.io/source: enabled
|
||||
recurring-job-group.longhorn.io/standard-pvc: enabled
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
name: redis-svc
|
||||
namespace: mastodon
|
||||
labels:
|
||||
app.kubernetes.io/name: redis
|
||||
app.kubernetes.io/name: mastodon
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
@ -12,4 +12,4 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: 6379
|
||||
selector:
|
||||
app: redis
|
||||
app: mastodon
|
||||
|
Loading…
x
Reference in New Issue
Block a user