Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] kbcli cluster describe-config error: failed to get resource #9030

Open
JashBook opened this issue Mar 10, 2025 · 0 comments
Open

[BUG] kbcli cluster describe-config error: failed to get resource #9030

JashBook opened this issue Mar 10, 2025 · 0 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Mar 10, 2025

Describe the bug
error: failed to get resource[default/postgres-zfykye-postgresql]: [configurations.apps.kubeblocks.io "postgres-zfykye-postgresql" not found]

kbcli version
Kubernetes: v1.28.3-vke.17
KubeBlocks: 1.0.0-beta.32
kbcli: 1.0.0-beta.15

To Reproduce
Steps to reproduce the behavior:

  1. create cluster
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: postgres-zfykye
  namespace: default
spec:
  clusterDef: postgresql
  topology: replication
  terminationPolicy: WipeOut
  componentSpecs:
    - name: postgresql
      serviceVersion: 14.7.2
      labels:
        apps.kubeblocks.postgres.patroni/scope: postgres-zfykye-postgresql
      replicas: 2
      disableExporter: true
      resources:
        limits:
          cpu: 100m
          memory: 0.5Gi
        requests:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
  1. See error
kbcli cluster describe-config postgres-zfykye 
error: failed to get resource[default/postgres-zfykye-postgresql]: [configurations.apps.kubeblocks.io "postgres-zfykye-postgresql" not found]
kbcli cluster configure postgres-zfykye --auto-approve --force=true --set shared_buffers=512MB --components postgresql --config-spec postgresql-configuration --config-file postgresql.conf
error: failed to get resource[default/postgres-zfykye-postgresql]: [configurations.apps.kubeblocks.io "postgres-zfykye-postgresql" not found]

kubectl get configurations -A
No resources found

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.

@JashBook JashBook added the kind/bug Something isn't working label Mar 10, 2025
@JashBook JashBook added this to the Release 1.0.0 milestone Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants