update log messages
This commit is contained in:
parent
a68d9e7042
commit
107700dc98
@ -95,7 +95,7 @@ func CreateCluster(c *cli.Context) error {
|
||||
// k3s server arguments
|
||||
// TODO: --port will soon be --api-port since we want to re-use --port for arbitrary port mappings
|
||||
if c.IsSet("port") {
|
||||
log.Println("WARNING: As of v2.0.0 --port will be used for arbitrary port-mappings. It's original functionality can then be used via --api-port.")
|
||||
log.Println("INFO: As of v2.0.0 --port will be used for arbitrary port mapping. Please use --api-port/-a instead for configuring the Api Port")
|
||||
}
|
||||
k3sServerArgs := []string{"--https-listen-port", c.String("api-port")}
|
||||
if c.IsSet("server-arg") || c.IsSet("x") {
|
||||
|
2
main.go
2
main.go
@ -78,7 +78,7 @@ func main() {
|
||||
// TODO: only --api-port, -a soon since we want to use --port, -p for the --publish/--add-port functionality
|
||||
Name: "api-port, a, port, p",
|
||||
Value: 6443,
|
||||
Usage: "Map the Kubernetes ApiServer port to a local port (Note: --port/-p will have different functionality as of v2.0.0)",
|
||||
Usage: "Map the Kubernetes ApiServer port to a local port (Note: --port/-p will be used for arbitrary port mapping as of v2.0.0, use --api-port/-a instead for setting the api port)",
|
||||
},
|
||||
cli.IntFlag{
|
||||
Name: "timeout, t",
|
||||
|
Loading…
Reference in New Issue
Block a user