mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Update usage information for --http-override
This commit is contained in:
parent
354cb6ca91
commit
c05a350b4f
@ -421,6 +421,9 @@ If `--tls-cert-file` is added (ideally in conjunction with `--tls-private-key-fi
|
||||
will be upgraded to HTTPS. The image has default, `localhost`-based cert/privkey files at
|
||||
`/localhost.crt` and `/localhost.key` (see: [`porter` subcommand](#porter))
|
||||
|
||||
If `--http-override` is set, the HTTP(S) server will always serve the override path & options,
|
||||
ignoring the request URL.
|
||||
|
||||
It will also start a UDP server on the indicated UDP port that responds to the following commands:
|
||||
|
||||
- `hostname`: Returns the server's hostname
|
||||
|
@ -94,6 +94,13 @@ var CmdNetexec = &cobra.Command{
|
||||
Returns a JSON with the fields "output" (containing the file's name on the server) and
|
||||
"error" containing any potential server side errors.
|
||||
|
||||
If "--tls-cert-file" is added (ideally in conjunction with "--tls-private-key-file", the HTTP server
|
||||
will be upgraded to HTTPS. The image has default, "localhost"-based cert/privkey files at
|
||||
"/localhost.crt" and "/localhost.key" (see: "porter" subcommand)
|
||||
|
||||
If "--http-override" is set, the HTTP(S) server will always serve the override path & options,
|
||||
ignoring the request URL.
|
||||
|
||||
It will also start a UDP server on the indicated UDP port that responds to the following commands:
|
||||
|
||||
- "hostname": Returns the server's hostname
|
||||
|
Loading…
Reference in New Issue
Block a user