EAI_AGAIN undefined:undefined

I wanted to run a postgresql database using docker but got this error repeatedly, any recommendations?

Loading configuration from /wiki/config.yml... OK
2021-01-19T20:23:26.295Z [MASTER] info: =======================================
2021-01-19T20:23:26.296Z [MASTER] info: = Wiki.js 2.5.170 =====================
2021-01-19T20:23:26.296Z [MASTER] info: =======================================
2021-01-19T20:23:26.296Z [MASTER] info: Initializing...
2021-01-19T20:23:26.841Z [MASTER] info: Using database driver pg for postgres [ OK ]
2021-01-19T20:23:26.846Z [MASTER] info: Connecting to database...
2021-01-19T20:23:31.865Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:23:31.865Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
2021-01-19T20:23:34.871Z [MASTER] info: Connecting to database...
2021-01-19T20:23:39.878Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:23:39.879Z [MASTER] warn: Will retry in 3 seconds... [Attempt 2 of 10]
2021-01-19T20:23:42.882Z [MASTER] info: Connecting to database...
2021-01-19T20:23:47.889Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:23:47.889Z [MASTER] warn: Will retry in 3 seconds... [Attempt 3 of 10]
2021-01-19T20:23:50.893Z [MASTER] info: Connecting to database...
2021-01-19T20:23:55.902Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:23:55.902Z [MASTER] warn: Will retry in 3 seconds... [Attempt 4 of 10]
2021-01-19T20:23:58.904Z [MASTER] info: Connecting to database...
2021-01-19T20:24:03.911Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:03.911Z [MASTER] warn: Will retry in 3 seconds... [Attempt 5 of 10]
2021-01-19T20:24:06.914Z [MASTER] info: Connecting to database...
2021-01-19T20:24:11.926Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:11.926Z [MASTER] warn: Will retry in 3 seconds... [Attempt 6 of 10]
2021-01-19T20:24:14.930Z [MASTER] info: Connecting to database...
2021-01-19T20:24:19.937Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:19.937Z [MASTER] warn: Will retry in 3 seconds... [Attempt 7 of 10]
2021-01-19T20:24:22.940Z [MASTER] info: Connecting to database...
2021-01-19T20:24:27.946Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:27.947Z [MASTER] warn: Will retry in 3 seconds... [Attempt 8 of 10]
2021-01-19T20:24:30.950Z [MASTER] info: Connecting to database...
2021-01-19T20:24:35.957Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:35.958Z [MASTER] warn: Will retry in 3 seconds... [Attempt 9 of 10]
2021-01-19T20:24:38.961Z [MASTER] info: Connecting to database...
2021-01-19T20:24:43.968Z [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:24:43.968Z [MASTER] warn: Will retry in 3 seconds... [Attempt 10 of 10]
2021-01-19T20:24:46.972Z [MASTER] info: Connecting to database...
2021-01-19T20:24:51.995Z [MASTER] error: Database Initialization Error: getaddrinfo EAI_AGAIN hs-psql1

Hi,
Have you resolved the problem? I have the same and do not know how to solve it.
Thanks,
Davie

+1 , please help
postgres.configmap.yml

apiVersion: v1
kind: ConfigMap
metadata:
  name: postgres-config
  labels:
    app: postgres
data:
  POSTGRES_DB: postgresdb
  POSTGRES_USER: user
  POSTGRES_PASSWORD: pass

postgres.deployment.yml

apiVersion: apps/v1
kind: Deployment
metadata:
  name: postgres
spec:
  replicas: 1
  selector:
    matchLabels:
      app: postgres
  template:
    metadata:
      labels:
        app: postgres
    spec:
      containers:
        - name: postgres
          image: postgres:11-alpine
          imagePullPolicy: "IfNotPresent"
          ports:
            - containerPort: 5432
          envFrom:
            - configMapRef:
                name: postgres-config
          volumeMounts:
            - mountPath: /var/lib/postgresql/data
              name: postgredb
      volumes:
        - name: postgredb
          persistentVolumeClaim:
            claimName: postgres-pv-claim

and the wiki deploy here:

kind: Deployment
apiVersion: apps/v1
metadata:
  name: wikijs-deployment
  labels:
    app: wikijs
spec:
  replicas: 1
  selector:
    matchLabels:
      app: wikijs
  template:
    metadata:
      labels:
        app: wikijs
    spec:
      containers:
        - name: wikijs
          image: ghcr.io/requarks/wiki:2.5.295
          imagePullPolicy: Always
          env:
            - name: DB_TYPE
              value: 'postgres'
            - name: DB_HOST
              value: 'postgresdb'
            - name: DB_PORT
              value: '5432'
            - name: POSTGRES_DB
              value: 'postgredb'
            - name: POSTGRES_USER
              value: 'user'
            - name: POSTGRES_PASSWORD
              value: 'password'
          resources:
            requests:
              memory: '64Mi'
              cpu: '250m'
            limits:
              memory: '128Mi'
              cpu: '500m'
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
      restartPolicy: Always
      terminationGracePeriodSeconds: 30
      dnsPolicy: ClusterFirst
      securityContext: {}
      schedulerName: default-scheduler
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 25%
      maxSurge: 25%
  revisionHistoryLimit: 10
  progressDeadlineSeconds: 600

What’s missing?