apiVersion: v1
kind: Service
metadata:
  name: frontend-service
  labels:
    app: frontend
spec:
  ports:
  - port: 80
    targetPort: 80
    protocol: TCP
  type: NodePort
  sessionAffinity: ClientIP
  selector:
    app: frontend