Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new server with localhost handlers #2635

Merged
merged 6 commits into from
Mar 18, 2024
Merged

Conversation

paulyufan2
Copy link
Contributor

Reason for Change:

The AKS listeners for the CNI to talk to CNS should be on localhost
This PR is to move all handlers that should be on localhost to a echo server

Next PR will start this server, separate handlers from restserver and start two listeners

Issue Fixed:

Requirements:

Notes:

@paulyufan2 paulyufan2 requested a review from a team as a code owner March 6, 2024 16:05
@paulyufan2 paulyufan2 requested a review from rbtr March 6, 2024 16:05
@paulyufan2 paulyufan2 force-pushed the wipLocalhostServer branch 2 times, most recently from 44c2cf5 to 1b501f4 Compare March 8, 2024 15:33
cns/restserver/api.go Outdated Show resolved Hide resolved
cns/restserver/v2/server.go Outdated Show resolved Hide resolved
cns/restserver/v2/server.go Outdated Show resolved Hide resolved
@paulyufan2 paulyufan2 force-pushed the wipLocalhostServer branch 2 times, most recently from 96623df to bda18db Compare March 12, 2024 13:52
@nddq
Copy link
Contributor

nddq commented Mar 13, 2024

@paulyufan2, can you update me on this? My understanding is that we’re starting two servers within CNS, with the echo one handling local requests. Can we move all localhost handlers to this new server in this PR for clarity?

@paulyufan2
Copy link
Contributor Author

@nddq This PR has moved all localhost handlers to the new echo server and next PR will remove localhost handlers from restserver and start two listeners.

@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2024
@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 16, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 16, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 16, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 16, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 17, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 17, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 18, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 18, 2024
@jpayne3506 jpayne3506 added this pull request to the merge queue Mar 18, 2024
Merged via the queue into master with commit 5d9d16d Mar 18, 2024
12 checks passed
@jpayne3506 jpayne3506 deleted the wipLocalhostServer branch March 18, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants