networkservicemesh / nsmctl

nsmctl is command line utility for service operators to configure and diagnose their network service mesh
GNU General Public License v3.0
1 stars 3 forks source link

nsmctl: implement cmd create networkservice #9

Closed denis-tingaikin closed 1 year ago

denis-tingaikin commented 1 year ago

Description

Provide a possibility to nsmctl to create a networkservice in the NSM domain.

Implementation details

Re-use our crd from the sdk-k8s.

Input parameters

domain - Name of the NSM domain. In most cases, it is a DNS subdomain of the k8s cluster or VM.

Flags

-f, --file path to the file to apply in the YAML/JSON format.

Note: we also should support a reading the file from the stdin via -f -

Example

$nsmctl create networkservice -f my-file.yml @my-domain

###out
network service 'my-ns' has been applied
denis-tingaikin commented 1 year ago

Closed by https://github.com/networkservicemesh/nsmctl/pull/12