xwiki

by jfelten

Helm chartv0.2.0App 12.9.0

Helm chart for xwiki.

About this chart

XWiki Helm Chart

This is the keyport tech adaption of xwiki-helm. Main change includes for direct volume mount of wiki-data storage

This is the XWiki Helm Chart aiming to ease the deployment in both Local and Highly Available setups.

Helm chart for xwiki.

Homepage: https://github.com/keyporttech/helm-xwiki

Introduction

This is the keyport tech adaption of xwiki-helm. Main change includes for direct volume mount of wiki-data storage

Requirements

RepositoryNameVersion
https://charts.helm.sh/stablemysql1.6.9
https://charts.helm.sh/stablepostgresql8.6.4
  • A kubernetes cluster ( most recent release recommended)
  • Helm 3 client
  • Please ensure that nodepools have enough resources to run both a web application and database
  • An external database if not using the in pod database

Installing the Chart

This chart is published in keyporttech/charts. To install the chart, first add the keyporttech helm repo:

helm repo add keyporttech https://keyporttech.github.io/helm-charts/

Then to install with the release name xwiki in the namespace xwiki with the customized values in custom_values.yaml run:

$ helm install -- values custom_values.yaml --name xwiki --namespace xwiki keyporttech/xwiki

or locally:

$ helm install --name xwiki --namespace  xwiki.

Tip: You can use the default values.yaml

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm uninstall my-release -n my-namespace

All resources associated with the last release of the chart as well as its release history will be deleted.

Ingress And External Host/Ports

To expose the web application this chart will generate an ingress using the ingress controller of choice if specified. If an ingress is enabled services.http.externalHost must be specified. To expose SSH services it relies on either a LoadBalancer or NodePort.

Configuration

Refer to values.yaml for the full run-down on defaults.

The following table lists the configurable parameters of this chart and their default values.

Values

KeyTypeDefaultDescription
externalDB.databasestring""
externalDB.hoststring""
externalDB.passwordstring""
externalDB.userstring""
image.namestring"xwiki"image name
image.pullPolicystring"IfNotPresent"image name
image.tagstring"12.9.0-postgres-tomcat"image tag
ingress.annotationsobject{"kubernetes.io/ingress.class":"nginx"}ingress annotations
ingress.enabledboolfalseenable the ingress
ingress.hoststring"my-host"ingress host name
ingress.tlslist[{"hosts":["myhost"],"secretName":"wiki-tls"}]tls config for ingress
istio.enabledboolfalse
istio.hoststring"*"
mysql.enabledboolfalseWhether to deploy a mysql server. Set false for a different database.
mysql.imageTagfloat5.7
mysql.mysqlDatabasestring"xwiki"
mysql.mysqlPasswordstring"xwiki"
mysql.mysqlRootPasswordstring"xwiki"
mysql.mysqlUserstring"xwiki"
podDisruptionBudget.enabledboolfalse
podDisruptionBudget.minAvailableint1
postgresql.enabledbooltrueWhether to deploy a postgresql server. Set false for a different database.
postgresql.image.tagstring"11.3.0-debian-9-r38"
postgresql.persistence.enabledboolfalse
postgresql.postgresqlDatabasestring"xwiki"
postgresql.postgresqlPasswordstring"xwiki"
postgresql.postgresqlUsernamestring"xwiki"
replicaCountint1
resources.limits.cpustring"350m"
resources.limits.memorystring"1000Mi"
resources.requests.cpustring"150m"xwiki container cpu request
resources.requests.memorystring"250Mi"xwiki container memory request
service.externalPortint80external port name
service.internalPortint8080
service.namestring"http"service name
service.portNamestring"node"name of the port
service.typestring"ClusterIP"service type
solrobject{"enabled":false,"host":"localhost","port":8983}To use external solr enable solr, provide host and port
storageTypestring"emptyDir"type of storage for the volume: pvc, emptyDir or directVolume

Source Code

Maintainers

NameEmailUrl
John Felten[email protected]
John Felten[email protected]

Contributing

Please see keyporttech charts contribution guidelines

Deploy xwiki with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has xwiki 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartxwiki is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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