apache
Apache HTTP Server is an open-source HTTP server. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
About this chart
Apache packaged by Bitnami
Apache HTTP Server is an open-source HTTP server. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/apache
Introduction
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
This chart bootstraps a Apache deployment on a Kubernetes cluster using the Helm package manager.
The Apache HTTP Server ("httpd") was launched in 1995 and it has been the most popular web server on the Internet since April 1996. It has celebrated its 20th birthday as a project in February 2015.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/apache
These commands deploy Apache on the Kubernetes cluster in the default configuration.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
Apache parameters
| Name | Description | Value |
|---|---|---|
image.registry | Apache image registry | docker.io |
image.repository | Apache image repository | bitnami/apache |
image.tag | Apache image tag (immutable tags are recommended) | 2.4.54-debian-11-r52 |
image.digest | Apache image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Apache image pull policy | IfNotPresent |
image.pullSecrets | Apache image pull secrets | [] |
image.debug | Enable image debug mode | false |
git.registry | Git image registry | docker.io |
git.repository | Git image name | bitnami/git |
git.tag | Git image tag (immutable tags are recommended) | 2.38.1-debian-11-r6 |
git.digest | Git image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
git.pullPolicy | Git image pull policy | IfNotPresent |
git.pullSecrets | Specify docker-registry secret names as an array | [] |
replicaCount | Number of replicas of the Apache deployment | 1 |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
topologySpreadConstraints | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | [] |
extraPodSpec | Optionally specify extra PodSpec | {} |
cloneHtdocsFromGit.enabled | Get the server static content from a git repository | false |
cloneHtdocsFromGit.repository | Repository to clone static content from | "" |
cloneHtdocsFromGit.branch | Branch inside the git repository | "" |
cloneHtdocsFromGit.enableAutoRefresh | Enables an automatic git pull with a sidecar container | true |
cloneHtdocsFromGit.interval | Interval for sidecar container pull from the repository | 60 |
cloneHtdocsFromGit.resources | Init container git resource requests | {} |
cloneHtdocsFromGit.extraVolumeMounts | Add extra volume mounts for the GIT containers | [] |
htdocsConfigMap | Name of a config map with the server static content | "" |
htdocsPVC | Name of a PVC with the server static content | "" |
vhostsConfigMap | Name of a config map with the virtual hosts content | "" |
httpdConfConfigMap | Name of a config map with the httpd.conf file contents | "" |
podLabels | Extra labels for Apache pods | {} |
podAnnotations | Pod annotations | {} |
hostAliases | Add deployment host aliases | [] |
priorityClassName | Apache Server pods' priorityClassName | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
podSecurityContext.enabled | Enabled Apache Server pods' Security Context | true |
podSecurityContext.fsGroup | Set Apache Server pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled Apache Server containers' Security Context | true |
containerSecurityContext.runAsUser | Set Apache Server containers' Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set Controller container's Security Context runAsNonRoot | true |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the Apache server container(s) to automate configuration before or after startup | {} |
resources.limits | The resources limits for the container | {} |
resources.requests | The requested resources for the container | {} |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.path | Path to access on the HTTP server | / |
startupProbe.port | P |
Deploy apache with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has apache 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 chartapache is pinned at v9.2.7 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