diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-26 23:58:04 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-26 23:58:04 +0300 |
| commit | 4eb23e409a376320a4c00fbf128604cb5f148e09 (patch) | |
| tree | 437a85ac0cd91ebf036eb9b8eb4fb27992c9d932 /f3s/example-apache/apache-service.yaml | |
| parent | 06ae46c9c522ed66ba4392fe221d93286539a702 (diff) | |
add apache example
Diffstat (limited to 'f3s/example-apache/apache-service.yaml')
| -rw-r--r-- | f3s/example-apache/apache-service.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/f3s/example-apache/apache-service.yaml b/f3s/example-apache/apache-service.yaml new file mode 100644 index 0000000..93b24ac --- /dev/null +++ b/f3s/example-apache/apache-service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: apache + name: apache-service +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 |
