Hi Sebastian,
I’m preparing for an upgrade from Squidex version 5.9.0
to the latest stable Squidex version as of today which is 7.8.2
.
You mentioned “single instance” in your latest reply of this question:
Yes, the changelog mentions long running migrations, that run automatically, but cause a temporary downtime. If you have a single instance there is not that much to do. Just upgrade the version in docker engine or kubernetes.
I was just wondering what exactly classifies as a “single instance”?
In my PROD Kubernetes setup I have the following resources for Squidex:
MongoDB:
apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
metadata:
name: mongodb
namespace: mongodb
spec:
members: 3
type: ReplicaSet
version: "4.2.6"
security:
authentication:
modes: ["SCRAM"]
users:
- name: REDACTED
db: REDACTED
passwordSecretRef:
name: REDACTED
roles:
- name: REDACTED
db: REDACTED
scramCredentialsSecretName: REDACTED
statefulSet:
spec:
template:
spec:
containers:
- name: mongod
resources:
requests:
cpu: 50m
memory: 1Gi
limits:
cpu: 2000m
memory: 4Gi
- name: mongodb-agent
resources:
requests:
cpu: 50m
memory: 1Gi
limits:
cpu: 2000m
memory: 2Gi
Squidex:
apiVersion: apps/v1
kind: Deployment
metadata:
name: squidex
namespace: REDACTED
spec:
revisionHistoryLimit: 2
selector:
matchLabels:
name: squidex
template:
metadata:
labels:
name: squidex
spec:
containers:
- name: squidex
image: squidex/squidex:5.9.0
resources:
requests:
cpu: 40m
memory: 700Mi
limits:
cpu: 1000m
memory: 1Gi
env:
- name: URLS__BASEURL
value: "REDACTED"
- name: ASSETSTORE__TYPE
value: MongoDb
- name: ASSETSTORE__MONGODB__CONFIGURATION
valueFrom:
secretKeyRef:
name: REDACTED
key: REDACTED
- name: EVENTSTORE__MONGODB__CONFIGURATION
valueFrom:
secretKeyRef:
name: REDACTED
key: REDACTED
- name: STORE__MONGODB__CONFIGURATION
valueFrom:
secretKeyRef:
name: REDACTED
key: REDACTED
- name: IDENTITY__ADMINEMAIL
valueFrom:
secretKeyRef:
name: REDACTED
key: REDACTED
- name: IDENTITY__ADMINPASSWORD
valueFrom:
secretKeyRef:
name: REDACTED
key: REDACTED
- name: ASSETS__MAXSIZE
value: "52428800"
- name: LOGGING__LEVEL
value: "Error"
- name: ROBOTS__TEXT
value: "User-agent: *\nAllow: /api/assets/\nDisallow: /"
So as you can see I have 3 replicas for MongoDB. Would this mean I have “three instances” and not a “single instance” like you said?