Percona xtradb cluster 1.15 readiness probe failure in kubernetes with kubeadm

I deployed with the following yaml and it keeps in readiness probe failed state in k8s with kubeadm.

apiVersion: pxc.percona.com/v1
kind: PerconaXtraDBCluster
metadata:
  name: minimal-cluster1
  namespace: database
spec:
  crVersion: 1.15.1
  secretsName: cluster1-secrets
  unsafeFlags:
    tls: true
    pxcSize: true
    proxySize: true
  upgradeOptions:
    apply: disabled
    schedule: "0 4 * * *"
  tls:
    enabled: false
  pxc:
    size: 2
    image: percona/percona-xtradb-cluster:8.0.36-28.1
    volumeSpec:
      persistentVolumeClaim:
        storageClassName: nfs-client
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 6G
    # resources:
    #   limits:
    #     memory: 2Gi
    #   requests:
    #     memory: 2Gi
    # tolerations:
    # - key: "node.kubernetes.io/not-ready"
    #   operator: "Exists"
    #   effect: "NoExecute"
    # - key: "node.kubernetes.io/unreachable"
    #   operator: "Exists"
    #   effect: "NoExecute"             
  haproxy:
    enabled: false
    size: 1
    image: percona/haproxy:2.8.5
    exposeReplicas:
      enabled: true
    exposePrimary:
      enabled: true  
  logcollector:
    enabled: true
    image: percona/percona-xtradb-cluster-operator:1.15.1-logcollector-fluentbit3.1.4
  proxysql:
    enabled: true
    size: 1
    image: percona/proxysql2:2.5.5
    imagePullPolicy: Always
    volumeSpec:
      persistentVolumeClaim:
        storageClassName: nfs-client
        accessModes: 
          - ReadWriteOnce
        resources:
          requests:
            storage: 6G  
    gracePeriod: 30   
    expose:
      enabled: true          

Please tell me what change can fix this issue?

Hello @Shihab_Uddin

I see you are starting 2 pxc pods only, which should be fine as you set unsafeFlags.pxcSize: true

It would be helpful to suggest on this issue further if you share more details like on the issue like ,

Where do you see the error, and What exact error are you getting?
Which document are you following for the installation of the cluster?

Ref: