apache

by joaquinito2051

Helm chartv9.2.7App 2.4.54

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.

Overview of Apache

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]

Apache parameters

NameDescriptionValue
image.registryApache image registrydocker.io
image.repositoryApache image repositorybitnami/apache
image.tagApache image tag (immutable tags are recommended)2.4.54-debian-11-r52
image.digestApache image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyApache image pull policyIfNotPresent
image.pullSecretsApache image pull secrets[]
image.debugEnable image debug modefalse
git.registryGit image registrydocker.io
git.repositoryGit image namebitnami/git
git.tagGit image tag (immutable tags are recommended)2.38.1-debian-11-r6
git.digestGit image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
git.pullPolicyGit image pull policyIfNotPresent
git.pullSecretsSpecify docker-registry secret names as an array[]
replicaCountNumber of replicas of the Apache deployment1
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
topologySpreadConstraintsTopology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template[]
extraPodSpecOptionally specify extra PodSpec{}
cloneHtdocsFromGit.enabledGet the server static content from a git repositoryfalse
cloneHtdocsFromGit.repositoryRepository to clone static content from""
cloneHtdocsFromGit.branchBranch inside the git repository""
cloneHtdocsFromGit.enableAutoRefreshEnables an automatic git pull with a sidecar containertrue
cloneHtdocsFromGit.intervalInterval for sidecar container pull from the repository60
cloneHtdocsFromGit.resourcesInit container git resource requests{}
cloneHtdocsFromGit.extraVolumeMountsAdd extra volume mounts for the GIT containers[]
htdocsConfigMapName of a config map with the server static content""
htdocsPVCName of a PVC with the server static content""
vhostsConfigMapName of a config map with the virtual hosts content""
httpdConfConfigMapName of a config map with the httpd.conf file contents""
podLabelsExtra labels for Apache pods{}
podAnnotationsPod annotations{}
hostAliasesAdd deployment host aliases[]
priorityClassNameApache Server pods' priorityClassName""
schedulerNameName of the k8s scheduler (other than default)""
podSecurityContext.enabledEnabled Apache Server pods' Security Contexttrue
podSecurityContext.fsGroupSet Apache Server pod's Security Context fsGroup1001
containerSecurityContext.enabledEnabled Apache Server containers' Security Contexttrue
containerSecurityContext.runAsUserSet Apache Server containers' Security Context runAsUser1001
containerSecurityContext.runAsNonRootSet Controller container's Security Context runAsNonRoottrue
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
lifecycleHooksfor the Apache server container(s) to automate configuration before or after startup{}
resources.limitsThe resources limits for the container{}
resources.requestsThe requested resources for the container{}
startupProbe.enabledEnable startupProbefalse
startupProbe.pathPath to access on the HTTP server/
startupProbe.portP

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartapache is pinned at v9.2.7 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