mirror of https://github.com/k3s-io/k3s
Do not use outdated flags in accessing_the_api.md
parent
f4e7b5480d
commit
f1b3fa8633
|
@ -16,14 +16,14 @@ there is one of these running on a single kubernetes-master node.
|
||||||
By default the Kubernetes APIserver serves HTTP on 2 ports:
|
By default the Kubernetes APIserver serves HTTP on 2 ports:
|
||||||
1. Localhost Port
|
1. Localhost Port
|
||||||
- serves HTTP
|
- serves HTTP
|
||||||
- default is port 8080, change with `-port` flag.
|
- default is port 8080, change with `--insecure-port` flag.
|
||||||
- defaults IP is localhost, change with `-address` flag.
|
- defaults IP is localhost, change with `--insecure-bind-address` flag.
|
||||||
- no authentication or authorization checks in HTTP
|
- no authentication or authorization checks in HTTP
|
||||||
- protected by need to have host access
|
- protected by need to have host access
|
||||||
2. Secure Port
|
2. Secure Port
|
||||||
- default is port 443, change with `-secure_port`
|
- default is port 6443, change with `--secure-port` flag.
|
||||||
- default IP is first non-localhost network interface, change with `-public_address_override`
|
- default IP is first non-localhost network interface, change with `--bind-address` flag.
|
||||||
- serves HTTPS. Set cert with `-tls_cert_file` and key with `-tls_private_key_file`.
|
- serves HTTPS. Set cert with `--tls-cert-file` and key with `--tls-private-key-file` flag.
|
||||||
- uses token-file or client-certificate based [authentication](./authentication.md).
|
- uses token-file or client-certificate based [authentication](./authentication.md).
|
||||||
- uses policy-based [authorization](./authorization.md).
|
- uses policy-based [authorization](./authorization.md).
|
||||||
3. Removed: ReadOnly Port
|
3. Removed: ReadOnly Port
|
||||||
|
|
Loading…
Reference in New Issue