matrix-matrix-synapse created 2024-09-14 22:46:57, version 3508119891

deployment.kubernetes.io/revision: 4 kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"apps/v1","kind":"Deplo...

Spec

progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
  matchLabels:
    app.kubernetes.io/component: synapse
    app.kubernetes.io/instance: matrix
    app.kubernetes.io/name: matrix-synapse
strategy:
  rollingUpdate:
    maxSurge: 25%
    maxUnavailable: 25%
  type: RollingUpdate
template:
  metadata:
    annotations:
      checksum/config: 043066ecc62a24c373d126dacae95e23a8ff84fa73512aa6e4a45f72f47b2f20
      checksum/secrets: 233c503074a0de368c9da37c4583673229a1f1c24cbd3f5fac07251b91c12c73
    creationTimestamp: null
    labels:
      app.kubernetes.io/component: synapse
      app.kubernetes.io/instance: matrix
      app.kubernetes.io/name: matrix-synapse
  spec:
    containers:
    - command:
      - sh
      - -c
      - "export POSTGRES_PASSWORD=$(echo \"${POSTGRES_PASSWORD:-}\" | sed 's/\\//\\\
        \\\\//g' | sed 's/\\&/\\\\\\&/g') && \\\nexport REDIS_PASSWORD=$(echo \"${REDIS_PASSWORD:-}\"\
        \ | sed 's/\\//\\\\\\//g' | sed 's/\\&/\\\\\\&/g') && \\\ncat /synapse/secrets/*.yaml\
        \ | \\\n  sed -e \"s/@@POSTGRES_PASSWORD@@/${POSTGRES_PASSWORD:-}/\" \\\n\
        \      -e \"s/@@REDIS_PASSWORD@@/${REDIS_PASSWORD:-}/\" \\\n         > /synapse/config/conf.d/secrets.yaml\n\
        \nexec python -B -m synapse.app.homeserver \\\n            -c /synapse/config/homeserver.yaml\
        \ \\\n            -c /synapse/config/conf.d/\n"
      env:
      - name: POSTGRES_PASSWORD
        valueFrom:
          secretKeyRef:
            key: password
            name: matrix-postgresql
      - name: REDIS_PASSWORD
        valueFrom:
          secretKeyRef:
            key: redis-password
            name: matrix-redis
      image: matrixdotorg/synapse:v1.114.0
      imagePullPolicy: IfNotPresent
      livenessProbe:
        failureThreshold: 3
        httpGet:
          path: /health
          port: http
          scheme: HTTP
        periodSeconds: 10
        successThreshold: 1
        timeoutSeconds: 1
      name: synapse
      ports:
      - containerPort: 8008
        name: http
        protocol: TCP
      - containerPort: 9093
        name: replication
        protocol: TCP
      - containerPort: 9090
        name: metrics
        protocol: TCP
      readinessProbe:
        failureThreshold: 3
        httpGet:
          path: /health
          port: http
          scheme: HTTP
        periodSeconds: 10
        successThreshold: 1
        timeoutSeconds: 1
      resources: {}
      securityContext: {}
      startupProbe:
        failureThreshold: 12
        httpGet:
          path: /health
          port: http
          scheme: HTTP
        periodSeconds: 10
        successThreshold: 1
        timeoutSeconds: 1
      terminationMessagePath: /dev/termination-log
      terminationMessagePolicy: File
      volumeMounts:
      - mountPath: /synapse/config
        name: config
      - mountPath: /synapse/config/conf.d
        name: tmpconf
      - mountPath: /synapse/secrets
        name: secrets
      - mountPath: /synapse/keys
        name: signingkey
      - mountPath: /synapse/data
        name: media
      - mountPath: /tmp
        name: tmpdir
    dnsPolicy: ClusterFirst
    restartPolicy: Always
    schedulerName: default-scheduler
    securityContext: {}
    serviceAccount: default
    serviceAccountName: default
    terminationGracePeriodSeconds: 30
    volumes:
    - configMap:
        defaultMode: 420
        name: matrix-matrix-synapse
      name: config
    - name: secrets
      secret:
        defaultMode: 420
        secretName: matrix-matrix-synapse
    - name: signingkey
      secret:
        defaultMode: 420
        items:
        - key: signing.key
          path: signing.key
        secretName: matrix-signingkey
    - emptyDir: {}
      name: tmpconf
    - emptyDir: {}
      name: tmpdir
    - name: media
      persistentVolumeClaim:
        claimName: matrix-matrix-synapse

Status

availableReplicas: 1
conditions:
- lastTransitionTime: '2024-09-14T22:46:57Z'
  lastUpdateTime: '2024-09-22T22:34:46Z'
  message: ReplicaSet "matrix-matrix-synapse-54c86797f4" has successfully progressed.
  reason: NewReplicaSetAvailable
  status: 'True'
  type: Progressing
- lastTransitionTime: '2025-10-19T10:17:04Z'
  lastUpdateTime: '2025-10-19T10:17:04Z'
  message: Deployment has minimum availability.
  reason: MinimumReplicasAvailable
  status: 'True'
  type: Available
observedGeneration: 4
readyReplicas: 1
replicas: 1
updatedReplicas: 1

Events

Type Reason Age From Message
No events found.