nextjs
Helm chartv1.2.0App 1.0.0MITVerified publisher
Generic Helm chart for Nextjs apps on Kubernetes
About this chart
nextjs
Generic Helm chart for Nextjs apps on Kubernetes
Homepage: https://github.com/icoretech/helm
Maintainers
| Name | Url | |
|---|---|---|
| masterkain | [email protected] | https://github.com/masterkain |
Source Code
Gateway API HTTPRoute Example
web:
httpRoute:
enabled: true
parentRefs:
- name: shared-gateway
namespace: infra
sectionName: https
hostnames:
- nextjs.example.com
Values
| Key | Type | Default | Description |
|---|---|---|---|
| fullnameOverride | string | "" | |
| nameOverride | string | "" | |
| web.affinity | object | {} | |
| web.cachePersistentVolume.accessModes[0] | string | "ReadWriteOnce" | |
| web.cachePersistentVolume.annotations | object | {} | |
| web.cachePersistentVolume.enabled | bool | false | |
| web.cachePersistentVolume.existingClaim | string | "" | |
| web.cachePersistentVolume.mountPath | string | "/app/.next/cache" | |
| web.cachePersistentVolume.size | string | "1Gi" | |
| web.cachePersistentVolume.storageClass | string | "" | |
| web.cachePersistentVolume.volumeMode | string | "" | |
| web.dataVolume.accessModes[0] | string | "ReadWriteOnce" | |
| web.dataVolume.annotations | object | {} | |
| web.dataVolume.enabled | bool | false | |
| web.dataVolume.existingClaim | string | "" | |
| web.dataVolume.mountPath | string | "/app/data" | |
| web.dataVolume.size | string | "1Gi" | |
| web.dataVolume.storageClass | string | "" | |
| web.dataVolume.volumeMode | string | "" | |
| web.env | object | {} | |
| web.extraContainers | list | [] | |
| web.extraEnvFrom | list | [] | |
| web.extraEnvs | list | [] | |
| web.hpa.cpu | string | nil | |
| web.hpa.enabled | bool | false | |
| web.hpa.maxReplicas | int | 10 | |
| web.hpa.memory | string | nil | |
| web.hpa.requests | string | nil | |
| web.httpRoute.annotations | object | {} | |
| web.httpRoute.enabled | bool | false | |
| web.httpRoute.hostnames | list | [] | |
| web.httpRoute.matches[0].path.type | string | "PathPrefix" | |
| web.httpRoute.matches[0].path.value | string | "/" | |
| web.httpRoute.parentRefs | list | [] | |
| web.image | string | "nginx:latest" | |
| web.imagePullPolicy | string | "IfNotPresent" | |
| web.imagePullSecrets | string | "" | |
| web.ingress.annotations | object | {} | |
| web.ingress.enabled | bool | false | |
| web.ingress.hosts | list | [] | |
| web.ingress.ingressClassName | string | "nginx" | |
| web.ingress.tls | list | [] | |
| web.initContainers | list | [] | |
| web.livenessProbe.enabled | bool | false | |
| web.livenessProbe.failureThreshold | int | 2 | |
| web.livenessProbe.httpGet.endpoint | string | "/api/hc?source=livenessProbe" | |
| web.livenessProbe.httpGet.httpHeaders | list | [] | |
| web.livenessProbe.initialDelaySeconds | int | 0 | |
| web.livenessProbe.periodSeconds | int | 10 | |
| web.livenessProbe.successThreshold | int | 1 | |
| web.livenessProbe.timeoutSeconds | int | 5 | |
| web.nodeSelector | object | {} | |
| web.podAnnotations | object | {} | |
| web.podDisruptionBudget.enabled | bool | false | |
| web.podDisruptionBudget.maxUnavailable | string | nil | |
| web.podDisruptionBudget.minAvailable | string | nil | |
| web.podLabels | object | {} | |
| web.readinessProbe.enabled | bool | false | |
| web.readinessProbe.failureThreshold | int | 2 | |
| web.readinessProbe.httpGet.endpoint | string | "/api/hc?source=readinessProbe" | |
| web.readinessProbe.httpGet.httpHeaders | list | [] | |
| web.readinessProbe.initialDelaySeconds | int | 0 | |
| web.readinessProbe.periodSeconds | int | 10 | |
| web.readinessProbe.successThreshold | int | 1 | |
| web.readinessProbe.timeoutSeconds | int | 5 | |
| web.replicaCount | int | 1 | |
| web.resources | object | {} | |
| web.runtimeClassName | string | nil | |
| web.secretEnv | object | {} | |
| web.service.annotations | object | {} | |
| web.service.enabled | bool | true | |
| web.service.nodePort | string | nil | |
| web.service.port | int | 3000 | |
| web.service.type | string | "ClusterIP" | |
| web.terminationGracePeriodSeconds | int | 0 | |
| web.tolerations | list | [] | |
| web.updateStrategy.rollingUpdate.maxSurge | int | 1 | |
| web.updateStrategy.rollingUpdate.maxUnavailable | int | 0 | |
| web.updateStrategy.type | string | "RollingUpdate" |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy nextjs with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nextjs on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartnextjs is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply