updated description for worksInKubernetesCluster flag

This commit is contained in:
Sergey Monakhov 2021-02-18 08:42:28 +03:00
parent 19f42c0560
commit 933cc226f7
2 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func Main() error {
compatibility := flag.String("compatibility", "", fmt.Sprintf("Should Kilo run in compatibility mode? Possible values: %s", availableCompatibilities))
encapsulate := flag.String("encapsulate", string(encapsulation.Always), fmt.Sprintf("When should Kilo encapsulate packets within a location? Possible values: %s", availableEncapsulations))
granularity := flag.String("mesh-granularity", string(mesh.LogicalGranularity), fmt.Sprintf("The granularity of the network mesh to create. Possible values: %s", availableGranularities))
worksInKubernetesCluster := flag.Bool("worksInKubernetesCluster", false, "use InClusterConfig metod to configure the Kubernetes API client.")
worksInKubernetesCluster := flag.Bool("worksInKubernetesCluster", true, "Set to true if run kilo in Kubernetes cluster.")
kubeconfig := flag.String("kubeconfig", "", "Path to kubeconfig.")
hostname := flag.String("hostname", "", "Hostname of the node on which this process is running.")
iface := flag.String("interface", mesh.DefaultKiloInterface, "Name of the Kilo interface to use; if it does not exist, it will be created.")

View File

@ -37,6 +37,8 @@ Usage of bin/amd64/kg:
Name of the Kilo interface to use; if it does not exist, it will be created. (default "kilo0")
-kubeconfig string
Path to kubeconfig.
-worksInKubernetesCluster bool
Set to true if run kilo in Kubernetes cluster. (default true)
-listen string
The address at which to listen for health and metrics. (default ":1107")
-local