kubebb / core

A declarative component lifecycle management platform
https://kubebb.github.io/website
Apache License 2.0
8 stars 9 forks source link

failed to do post-install when deploy my-minio #338

Closed bjwswang closed 11 months ago

bjwswang commented 12 months ago

When I deploy minio by following quick start with command

kubectl apply -f https://raw.githubusercontent.com/kubebb/components/main/examples/minio/componentplan.yaml

It failed. The componentplan shows below:

apiVersion: core.kubebb.k8s.com.cn/v1alpha1
kind: ComponentPlan
metadata:
  annotations:
    core.kubebb.k8s.com.cn/componentplan-retry: "5"
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"core.kubebb.k8s.com.cn/v1alpha1","kind":"ComponentPlan","metadata":{"annotations":{},"name":"my-minio","namespace":"default"},"spec":{"approved":true,"component":{"name":"kubebb.minio","namespace":"kubebb-system"},"name":"my-minio","override":{"set":["rootUser=admin","rootPassword=Passw0rd!"]},"version":"5.0.8"}}
  creationTimestamp: "2023-09-11T09:17:15Z"
  finalizers:
  - core.kubebb.k8s.com.cn/finalizer
  generation: 1
  labels:
    core.kubebb.k8s.com.cn/componentplan-release: my-minio
  name: my-minio
  namespace: default
  resourceVersion: "20347"
  uid: b76a6c17-e02f-4fe9-9cfa-e6ba485c8488
spec:
  approved: true
  component:
    name: kubebb.minio
    namespace: kubebb-system
  name: my-minio
  override:
    set:
    - rootUser=admin
    - rootPassword=Passw0rd!
  version: 5.0.8
status:
  conditions:
  - lastTransitionTime: "2023-09-11T09:17:14Z"
    reason: ""
    status: "True"
    type: Approved
  - lastTransitionTime: "2023-09-11T09:23:30Z"
    message: 'failed post-install: timed out waiting for the condition'
    reason: InstallFailed
    status: "False"
    type: Actioned
  - lastTransitionTime: "2023-09-11T09:23:30Z"
    reason: ""
    status: "False"
    type: Succeeded
  images:
  - hyperledgerk8s/minio-minio:RELEASE.2023-02-10T18-48-39Z
  installedRevision: 1
  latest: true
  observedGeneration: 1
  resources:
  - NewCreated: true
    apiVersion: v1
    kind: ServiceAccount
    name: minio-sa
  - NewCreated: true
    apiVersion: v1
    kind: Secret
    name: my-minio
  - NewCreated: true
    apiVersion: v1
    kind: ConfigMap
    name: my-minio
  - NewCreated: true
    apiVersion: v1
    kind: Service
    name: my-minio-console
  - NewCreated: true
    apiVersion: v1
    kind: Service
    name: my-minio
  - NewCreated: true
    apiVersion: v1
    kind: Service
    name: my-minio-svc
  - NewCreated: true
    apiVersion: apps/v1
    kind: StatefulSet
    name: my-minio
  - NewCreated: true
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    name: my-minio-console
bjwswang commented 11 months ago

not found anymore