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] nebula/etcd cluster has no secret for connection #8859

Closed
JashBook opened this issue Jan 23, 2025 · 2 comments
Closed

[BUG] nebula/etcd cluster has no secret for connection #8859

JashBook opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
kind/bug Something isn't working severity/minor It is better to fix the problem for a better user experience
Milestone

Comments

@JashBook
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. create cluster
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: nebula-jjuzhw
  namespace: default
spec:
  clusterDef: nebula
  topology: default
  terminationPolicy: WipeOut
  componentSpecs:
    - name: console
      serviceVersion: v3.5.0
      replicas: 2
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
    - name: graphd
      serviceVersion: v3.5.0
      replicas: 1
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: logs
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
    - name: metad
      serviceVersion: v3.5.0
      replicas: 3
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
        - name: logs
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
    - name: storaged
      serviceVersion: v3.5.0
      replicas: 3
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
        - name: logs
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi
  1. Click on '....'
  2. Scroll down to '....'
  3. See error
kubectl get secrets -l app.kubernetes.io/instance=nebula-jjuzhw    
No resources found in default namespace.


➜  ~ kubectl exec -it nebula-jjuzhw-console-0 --namespace default -- sh  
/ # env|grep USER
/ # env|grep PASS
/ # 

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 Jan 23, 2025
@JashBook JashBook added this to the Release 1.0.0 milestone Jan 23, 2025
@JashBook JashBook changed the title [BUG] nebula cluster has no secret for connection [BUG] nebula/etcd cluster has no secret for connection Jan 23, 2025
@JashBook
Copy link
Collaborator Author

JashBook commented Jan 23, 2025

etcd cluster also has the same issue

apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: etcdr-bszddm
  namespace: default
spec:
  terminationPolicy: WipeOut
  componentSpecs:
    - name: etcd
      componentDef: etcd-3-1.0.0-alpha.0
      tls: false
      replicas: 3
      resources:
        requests:
          cpu: 100m
          memory: 0.5Gi
        limits:
          cpu: 100m
          memory: 0.5Gi
      volumeClaimTemplates:
        - name: data
          spec:
            storageClassName:
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 20Gi

see error

kubectl get secrets -l app.kubernetes.io/instance=etcdr-bszddm
No resources found in default namespace.

There is no svc that can be accessed externally

kubectl get svc -l app.kubernetes.io/instance=etcdr-bszddm
No resources found in default namespace.

@shanshanying shanshanying added the severity/minor It is better to fix the problem for a better user experience label Jan 23, 2025
@shanshanying
Copy link
Contributor

not planned for greptimedb,weaviate , nebula and etcd.

@shanshanying shanshanying closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 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 severity/minor It is better to fix the problem for a better user experience
Projects
None yet
Development

No branches or pull requests

2 participants