kubernetes / ingress-nginx

Ingress NGINX Controller for Kubernetes
https://kubernetes.github.io/ingress-nginx/
Apache License 2.0
17.46k stars 8.25k forks source link

Enable sessionAffinity:ClientIp not works within OKE | Oracle Cloud Infrastructure #10367

Closed sdominguez-quistor closed 1 month ago

sdominguez-quistor commented 1 year ago

Hi All, I'm trying to put sessionAffinity: ClientIP inside service´s Kubernetes but I'm getting this error: SyncLoadBalancerFailed Error syncing load balancer: failed to ensure load balancer: invalid service: OCI only supports SessionAffinity "None" currently So I put sessionAffinity:None but it´s not working. How can I achieve this with OKE? My Kubernetes version is 1.27

Thanks in advance.

k8s-ci-robot commented 1 year ago

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
longwuyuan commented 1 year ago

/remove-kind bug

Can you please answer the questions asked in the new issue template so that readers here can get details of the problem. The information you have posted is too less and not enough for someone to take action on this.

/kind support

github-actions[bot] commented 1 year ago

This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #ingress-nginx-dev on Kubernetes Slack.

longwuyuan commented 1 month ago

No idea what session-Affinity means. We do have sticky sessions https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/

/close

k8s-ci-robot commented 1 month ago

@longwuyuan: Closing this issue.

In response to [this](https://github.com/kubernetes/ingress-nginx/issues/10367#issuecomment-2350871263): >No idea what session-Affinity means. We do have sticky sessions https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/ > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.