summaryrefslogtreecommitdiff
path: root/f3s/apache/helm-chart/templates/apache-service.yaml
blob: e3babff7d24a95557c790db7b14953d32926c1fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: v1
kind: Service
metadata:
  labels:
    app: apache
  name: apache-service
  namespace: services
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