Skip to content

XPOL555/facturascripts-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FacturaScripts on Kubernetes (Kustomize)

English πŸ‡¬πŸ‡§

Structure

.k8s/
β”œβ”€β”€ base/
β”‚   β”œβ”€β”€ namespace.yaml
β”‚   β”œβ”€β”€ mysql/
β”‚   β”‚   β”œβ”€β”€ statefulset.yaml
β”‚   β”‚   └── service.yaml
β”‚   └── facturascripts/
β”‚       β”œβ”€β”€ deployment.yaml
β”‚       β”œβ”€β”€ service.yaml
β”‚       └── pvc.yaml
└── overlays/
    └── prod/
        β”œβ”€β”€ kustomization.yaml
        └── ingress.yaml

Quick Start

  1. Download & extract
    cd .k8s
  2. Deploy the production overlay:
    kubectl apply -k overlays/prod
  3. Access the app
    • If you use an Ingress controller, browse to https://facturascripts.localtest.me
    • Otherwise use the ClusterIP/NodePort you prefer.
  4. Initial database credentials
    • Host: mysql
    • User: root
    • Password: set in secretGenerator.

Customize the MySQL root password or storage sizes by editing the values inside overlays/prod/kustomization.yaml before applying.


EspaΓ±ol πŸ‡ͺπŸ‡Έ

Estructura

.k8s/
β”œβ”€β”€ base/
β”‚   β”œβ”€β”€ namespace.yaml
β”‚   β”œβ”€β”€ mysql/
β”‚   β”‚   β”œβ”€β”€ statefulset.yaml
β”‚   β”‚   └── service.yaml
β”‚   └── facturascripts/
β”‚       β”œβ”€β”€ deployment.yaml
β”‚       β”œβ”€β”€ service.yaml
β”‚       └── pvc.yaml
└── overlays/
    └── prod/
        β”œβ”€β”€ kustomization.yaml
        └── ingress.yaml

Inicio RΓ‘pido

  1. Descarga y extrae
    cd .k8s
  2. Despliega el overlay de producciΓ³n:
    kubectl apply -k overlays/prod
  3. Accede a la aplicaciΓ³n
    • Con un Ingress: https://facturascripts.localtest.me
    • Sin Ingress: usa la IP o el puerto que prefieras.
  4. Credenciales iniciales de la base de datos
    • Host: mysql
    • Usuario: root
    • ContraseΓ±a: definida en secretGenerator

Personaliza la contraseΓ±a root de MySQL o el tamaΓ±o de los volΓΊmenes editando overlays/prod/kustomization.yaml antes de aplicar los manifiestos.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published