diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-27 09:59:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-27 09:59:55 +0300 |
| commit | e7eddc9a306e5d66451ef82efbeddc5196435703 (patch) | |
| tree | a221d82e6b87f953d94c8d190e114e18b2acc775 /f3s/example-apache-volume-claim/apache-service.yaml | |
| parent | 4eb23e409a376320a4c00fbf128604cb5f148e09 (diff) | |
persistent volume example
Diffstat (limited to 'f3s/example-apache-volume-claim/apache-service.yaml')
| -rw-r--r-- | f3s/example-apache-volume-claim/apache-service.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/f3s/example-apache-volume-claim/apache-service.yaml b/f3s/example-apache-volume-claim/apache-service.yaml new file mode 100644 index 0000000..1105e3a --- /dev/null +++ b/f3s/example-apache-volume-claim/apache-service.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: apache + name: apache-service + namespace: test +spec: + ports: + - name: web + port: 80 + protocol: TCP + # Expose port 80 on the service + targetPort: 80 + selector: + # Link this service to pods with the label app=apache + app: apache |
