drupal

by Helm

Helm chartv0.1.0App 1.16.0Apache-2.0

Drupal is a free and open-source web content management framework written in PHP and distributed under the GNU General Public License.

About this chart

Helm Chart For Drupal.

--

Drupal is a free and open-source web content management framework written in PHP and distributed under the GNU General Public License.

Introduction

This Helm chart installs Drupal in a Kubernetes cluster.

Prerequisites

  • Kubernetes cluster 1.10+
  • Helm 3.0+
  • Postgresql or Mysql database ( optional ).

Configure the chart

There are no pre-configurations required in this helm chart, everything will be configured from the installation wizard after deployment.

Configure the way how to expose Drupal service:

  • Ingress: The ingress controller must be installed in the Kubernetes cluster.
  • ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only reachable from within the cluster.
  • NodePort: Exposes the service on each Node’s IP at a static port (the NodePort). You’ll be able to contact the NodePort service, from outside the cluster, by requesting NodeIP:NodePort.
  • LoadBalancer: Exposes the service externally using a cloud provider’s load balancer.

Installation

Add Helm repo:

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

Update repo:

helm repo update

Install the Drupal helm chart with a release name my-release:

helm install my-release cetic/drupal 

View the pods.

kubectl get pods 

Uninstallation

To uninstall/delete the drupal deployment:

helm delete my-release

License

Apache License 2.0

Deploy drupal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has drupal 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 chartdrupal is pinned at v0.1.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