diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-27 21:00:12 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-27 21:00:12 +0200 |
| commit | 94c0db2c8badc141ed9f35ade9f5f47bad8b3fc7 (patch) | |
| tree | 1562dbceb91a2eb92090389c0d04e33e42966eda /f3s/apache/helm-chart/templates/apache-deployment.yaml | |
| parent | 55a69e2dd06523cf7f466fd21e4e14c04ac3a3e8 (diff) | |
add apache
Diffstat (limited to 'f3s/apache/helm-chart/templates/apache-deployment.yaml')
| -rw-r--r-- | f3s/apache/helm-chart/templates/apache-deployment.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/f3s/apache/helm-chart/templates/apache-deployment.yaml b/f3s/apache/helm-chart/templates/apache-deployment.yaml new file mode 100644 index 0000000..aa9e65a --- /dev/null +++ b/f3s/apache/helm-chart/templates/apache-deployment.yaml @@ -0,0 +1,41 @@ +# Apache HTTP Server Deployment +apiVersion: apps/v1 +kind: Deployment +metadata: + name: apache-deployment + namespace: test +spec: + replicas: 2 + selector: + matchLabels: + app: apache + template: + metadata: + labels: + app: apache + spec: + containers: + - name: apache + image: httpd:latest + ports: + # Container port where Apache listens + - containerPort: 80 + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 15 + periodSeconds: 10 + volumeMounts: + - name: apache-htdocs + mountPath: /usr/local/apache2/htdocs/ + volumes: + - name: apache-htdocs + persistentVolumeClaim: + claimName: apache-pvc |
