apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.13k stars 176 forks source link

[BUG] addon pod schedule failed: didn't match pod anti-affinity rules with kubeblocks #7426

Open JashBook opened 5 months ago

JashBook commented 5 months ago

Describe the bug

kbcli version
Kubernetes: v1.27.4+k3s1
KubeBlocks: 0.8.3

To Reproduce Steps to reproduce the behavior:

  1. create crd
    kubectl create -f https://github.com/apecloud/kubeblocks/releases/download/v0.8.3/kubeblocks_crds.yaml
  2. install kubeblocks distributed on 3 different nodes
    
    helm repo add kubeblocks https://apecloud.github.io/helm-charts 

helm upgrade -i kubeblocks kubeblocks/kubeblocks -n kb-system --create-namespace --version 0.8.3 -f -<<EOF replicaCount: 3 image: tag: 0.8.3 extraLabels: app.kubernetes.io/component: "kubeblocks" tolerations:

get addon pod yaml

kubectl get pod -oyaml install-apecloud-mysql-addon-2ssm8 -n kb-system apiVersion: v1 kind: Pod metadata: creationTimestamp: "2024-05-27T03:58:24Z" finalizers:



**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
github-actions[bot] commented 4 months ago

This issue has been marked as stale because it has been open for 30 days with no activity