---
apiVersion: v1
kind: Service
metadata: 
  name: kubapp
spec:
  sessionAffinity: ClientIP
  ports:
  # The port this service will be available on
  - port: 80
  # The container port the service will forward to
    targetPort: 8080
  selector:
    app: kubapp
...

Add the service yaml file with session affinity option
Add the service yaml file with session affinity option
