Verdaccio

Verdaccio

  • Documentación
  • Blog
  • Twitter
  • Ayuda
  • GitHub
  • Contributors
  • Patrocinanos
  • Languages iconEspañol
    • English
    • Français
    • 中文
    • Russian
    • Yoruba
    • Ayuda con traducciones

›DevOps

Introducción

  • Qué es Verdaccio?
  • Instalación
  • Herramienta de Linea de Comando
  • Using a private registry
  • Quien usa Verdaccio?
  • Security Policy
  • Logotype
  • Uses Cases

    • Pruebas End to End
    • Caching strategies
    • GitHub Actions
    • Linking a Remote Registry

    Talks & Articles

    • Articles
    • Talks

Características

  • Archivo de Configuración
  • Uplinks
  • Acceso a Paquetes
  • Autenticación
  • Notificaciones
  • Registrador
  • Interfaz Web de Usuario

Servidor

  • Configuración del Servidor
  • Configuración de Proxy Inverso
  • Configurar los Certificados SSL
  • Instalación como un Servicio de Windows
  • Instalación en servidor IIS

Desarrollo

  • Plugins
  • Extensiones en Desarrollo
  • Dev Guides

    • Plugin Generator
    • Extensión de Autenticación
    • Extensión de Middleware
    • Extensión de Almacenamiento
  • Nodo API

DevOps

  • Docker
  • Kubernetes
  • Integración Continua
  • Cloud

    • Amazon Web Services

    Tools

    • Ansible
    • Puppet
    • Libro de Cocina del Chef

Guías

  • Mejores Prácticas
  • Protegiendo paquetes
  • Amazon Web Services
Translate

Kubernetes

Puedes encontrar las instrucciones para desplegar Verdaccio en un cluster de Kubernetes en el repositorio verdaccio/docker-example. Sin embargo, el método recomendado de instalar Verdaccio en un cluster de Kubernetes es usando Helm. Helm is a Kubernetes es un administrador de paquetes que trae muchos beneficios y ventajas.

Helm

Configurar Helm

Si no has usado Helm anteriormente, necesitarás configurar el controlador de Helm llamado Tiller:

helm init

Instalación

⚠️ If you are using this helm chart, please be aware of the migration of the repository.

Deploy the Helm verdaccio/verdaccio chart.

Add repository

helm repo add verdaccio https://charts.verdaccio.org

In this example we use npm as release name:

helm install npm verdaccio/verdaccio

Desplegar una versión específica

helm install npm --set image.tag=3.13.1 verdaccio/verdaccio

Actualizando Verdaccio

helm upgrade npm verdaccio/verdaccio

Desinstalar

helm uninstall npm

Nota: el comando borra todos los recursos, incluyendo los paquetes que tu podrías haber publicado anteriormente al registro.

Configuración personalizada de Verdaccio

Puedes personalizar la configuracion de verdaccio usando un * configMap* de Kubernetes.

Preparando

Copy the existing configuration and adapt it for your use case:

wget https://raw.githubusercontent.com/verdaccio/verdaccio/master/conf/docker.yaml -O config.yaml

Nota: Asegúrese que usa la dirección correcta para el almacenamiento que es usado por la persistencia:

storage: /verdaccio/storage/data
auth:
  htpasswd:
    file: /verdaccio/storage/htpasswd

Desplegar el configMap

Desplegar el configMap en el cluster

kubectl create configmap verdaccio-config --from-file ./config.yaml

Desplegar Verdaccio

Ahora puedes desplegar Verdaccio Helm chart y especificar cual configuración usar:

helm install npm --set customConfigMap=verdaccio-config verdaccio/verdaccio

NGINX proxy body-size limit

The standard k8s NGINX ingress proxy allows for 1MB for body-size which can be increased by modifying the default deployment options according to the documentation:

...

annotations:
...

    kubernetes.io/proxy-body-size: 20m
....    
...

Soporte Rancher

Rancher is a complete container management platform that makes managing and using containers in production really easy.

  • verdaccio-rancher
← DockerIntegración Continua →
  • Helm
    • Configurar Helm
    • Instalación
    • Add repository
    • Desplegar una versión específica
    • Actualizando Verdaccio
    • Desinstalar
    • Configuración personalizada de Verdaccio
  • Soporte Rancher
Verdaccio
Docs
Getting StartedDockerConfigurationLogos
Community
User ShowcaseStack OverflowProject ChatFollow Verdaccio on Twitter
More
BlogGitHubStar