I'm struggling to find documentation on this. I wish to have this service spec:
apiVersion: v1
kind: Service
metadata:
name: API1
spec:
type: ClusterIP
ports:
- name: port1
port: 80
selector:
app: API1
sessionAffinityConfig:
clientIP:
timeoutSeconds: 30
API1 has 3 replicas.
One of my deployments in the same cluster (API2) uses this API1. Would this config also result in all traffic from API2 to the same pod in API1? That would be undesirable.