diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-28 15:23:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-28 15:23:57 +0300 |
| commit | 25043ddcdde5fe73bb0db6d22d516a2c443ed513 (patch) | |
| tree | 705638310db1f50d83bd2aeba4aeba33b9039c04 | |
| parent | e7eddc9a306e5d66451ef82efbeddc5196435703 (diff) | |
more on this
| -rw-r--r-- | f3s/example-apache-volume-claim/apache-deployment.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/f3s/example-apache-volume-claim/apache-deployment.yaml b/f3s/example-apache-volume-claim/apache-deployment.yaml index 3f16827..78706a3 100644 --- a/f3s/example-apache-volume-claim/apache-deployment.yaml +++ b/f3s/example-apache-volume-claim/apache-deployment.yaml @@ -5,7 +5,7 @@ metadata: name: apache-deployment namespace: test spec: - replicas: 1 + replicas: 2 selector: matchLabels: app: apache @@ -20,6 +20,18 @@ spec: 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/ |
