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

Implement initial version of cmd-nse-supplier-k8s #1

Closed
denis-tingaikin opened this issue May 18, 2021 · 0 comments · Fixed by #2
Closed

Implement initial version of cmd-nse-supplier-k8s #1

denis-tingaikin opened this issue May 18, 2021 · 0 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@denis-tingaikin
Copy link
Member

denis-tingaikin commented May 18, 2021

Description

We need to implement the initial version of cmd-nse-supplier-k8s for topology aware scale-from-zero running of NSEs in response to NSC demand (see at sdk#892)

Implementation details

  1. Change module name in https://github.com/networkservicemesh/cmd-nse-supplier-k8s/blob/main/go.mod
  2. Implement the main function for cmd-nse-supplier-k8s. See at examples https://github.com/networkservicemesh/cmd-nse-icmp-responder & https://github.com/networkservicemesh/cmd-registry-k8s
    Note1: Endpoint should include only this additional functionality: https://github.com/networkservicemesh/sdk-k8s/blob/main/pkg/networkservice/common/createpod/server.go#L48
    Note2: All required parameters should be passed over env config.
  3. Add imports.go file as in example https://github.com/networkservicemesh/cmd-nse-icmp-responder/tree/main/internal/pkg/imports
  4. Update docker file as in example https://github.com/networkservicemesh/cmd-nse-icmp-responder/blob/main/Dockerfile and make sure that it can be build as lined in README.md

References

networkservicemesh/sdk#892

@denis-tingaikin denis-tingaikin added the enhancement New feature or request label May 18, 2021
@denis-tingaikin denis-tingaikin changed the title Implement initial version on cmd-nse-supplier-k8s Implement initial version of cmd-nse-supplier-k8s May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants