Ks-installer: s2ibuildertemplates fue cargado incorrectamente por ks-installer reciente

Creado en 20 abr. 2021  ·  5Comentarios  ·  Fuente: kubesphere/ks-installer

Descripción

El reciente ks-installer cargó incorrectamente s2ibuildertemplates.

Reproducir

Recientemente, instalé kubesphere con kubekey con los siguientes pasos:

  • Descarga kubeky y descomprímelo

    wget -c https://github.com/kubesphere/kubekey/releases/download/v1.1.0-alpha.2/kubekey-v1.1.0-alpha.2-linux-amd64.tar.gz
    tar xzvf kubekey-v1.1.0-alpha.2-linux-amd64.tar.gz
    
  • Hasta kubernetes y kubesphere

    ./kk create cluster --with-kubesphere nightly-20210418
    
  • Habilitar el componente DevOps

    kubectl -nkubesphere-system edit cc ks-installer
    

    Convierta spec.devops.enabled en true .

    Herramienta más poderosa para habilitar el componente ks si está interesado: https://github.com/LinuxSuRen/ks

  • Esperando la kubesfera

    o use el siguiente comando para verificar el estado:

    kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
    

Cheque

Ahora podemos comprobar si las s2ibuildertemplates se cargaron correctamente.

kubectl get s2ibuildertemplates.devops.kubesphere.io -A

Encontraría que faltaban las plantillas si2buildertemplates.

  • Resultado

    No resources found
    
  • Esperado

    NAME     FRAMEWORK   DEFAULTBASEIMAGE                           VERSION
    binary   binary      kubesphere/s2i-binary:v2.1.0               0.0.1
    java     java        kubesphere/java-8-centos7:v2.1.0           0.0.1
    nodejs   nodejs      kubesphere/nodejs-8-centos7:v2.1.0         0.0.1
    python   python      kubesphere/python-36-centos7:v2.1.0        0.0.1
    tomcat   java        kubesphere/tomcat85-java8-centos7:v2.1.0   0.0.1
    

Influencia

image

Por cierto, kubesphere 3.0.0 no tiene ningún problema.

aredevops kinbug priorithigh

Comentario más útil

Encontré la causa, trabajando en ello.
/asignar

Todos 5 comentarios

/ tipo de error
/ prioridad alta

/ area devops

/ cc @pixiake

Encontré la causa, trabajando en ello.
/asignar

@zryfish El último ks-installer (nightly-20210423) aún no solucionó este problema. # 1441 podría no ser una solución para este problema.

¿Fue útil esta página
0 / 5 - 0 calificaciones

Temas relacionados

martignoni picture martignoni  ·  19Comentarios

shekharberry picture shekharberry  ·  3Comentarios

singuliere picture singuliere  ·  13Comentarios

MwC-Trexx picture MwC-Trexx  ·  27Comentarios

FilBot3 picture FilBot3  ·  18Comentarios