Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Endpoints are missed when creating many services fast #8

Closed
uablrek opened this issue Apr 23, 2021 · 11 comments
Closed

Endpoints are missed when creating many services fast #8

uablrek opened this issue Apr 23, 2021 · 11 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@uablrek
Copy link
Contributor

uablrek commented Apr 23, 2021

I create many pods and services in one command by apply a directory;

kubectl apply -f /etc/kubernetes/k8s-test/

Most services has 4 endpoints in my setup but when accessing only a few is used;

vm-003 ~ # mconnect -address mserver-deployment.default.svc.xcluster:5001 -nconn 100
Failed connects; 0
Failed reads; 0
mserver-deployment-654bbdc6dc-xj2fk 100
vm-003 ~ # mconnect -address mserver.default.svc.xcluster:5001 -nconn 100
Failed connects; 0
Failed reads; 0
mserver-mmd8f 52
mserver-sjrls 48

Both services has 4 endpoints. I waited for ~30 min to see if sync would fix this but the problem remains.

Output from print-state: print-state.txt

@uablrek
Copy link
Contributor Author

uablrek commented Apr 23, 2021

Copied from the old repo

@uablrek
Copy link
Contributor Author

uablrek commented Apr 23, 2021

Restarting kpng fixes the problem.

@mcluseau
Copy link
Contributor

mcluseau commented Apr 23, 2021 via email

@mcluseau
Copy link
Contributor

mcluseau commented May 7, 2021

I've found a bug that has a really high probability to have caused your issue (not a race condition though). It's worth trying again :)

@uablrek
Copy link
Contributor Author

uablrek commented May 8, 2021

No, still the same problem. Re-built on;

commit 95df644fd8750210c91bd6c938ca74ce768cbac0 (HEAD -> master, origin/master, origin/HEAD)
Author: Mikaël Cluseau <mikael.cluseau@gmail.com>
Date:   Fri May 7 22:54:44 2021 +0200

    api2store: fix tls config build

Is there a kpng version command of some kind, showing version or git commit? If not, it should be IMHO.

@uablrek
Copy link
Contributor Author

uablrek commented May 9, 2021

I am testing dual-stack, with ipFamilies and ipFamilyPolicy here.
Is kpng and the nft backend prepared for that? Or am I tesing a Not-Implemented-Yet feature?

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 7, 2021
@mcluseau
Copy link
Contributor

I think we need the test yaml definitions to move forward here.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 26, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants