Merge branch 'master' into patch-2
This commit is contained in:
@@ -6,7 +6,8 @@ assignees:
|
|||||||
- deads2k
|
- deads2k
|
||||||
|
|
||||||
---
|
---
|
||||||
|
* TOC
|
||||||
|
{:toc}
|
||||||
|
|
||||||
## Users in Kubernetes
|
## Users in Kubernetes
|
||||||
|
|
||||||
@@ -33,7 +34,7 @@ or be treated as an anonymous user.
|
|||||||
|
|
||||||
## Authentication strategies
|
## Authentication strategies
|
||||||
|
|
||||||
Kubernetes uses client certificates, bearer tokens, or HTTP basic auth to
|
Kubernetes uses client certificates, bearer tokens, an authenticating proxy, or HTTP basic auth to
|
||||||
authenticate API requests through authentication plugins. As HTTP request are
|
authenticate API requests through authentication plugins. As HTTP request are
|
||||||
made to the API server plugins attempts to associate the following attributes
|
made to the API server plugins attempts to associate the following attributes
|
||||||
with the request:
|
with the request:
|
||||||
@@ -360,6 +361,20 @@ An unsuccessful request would return:
|
|||||||
|
|
||||||
HTTP status codes can be used to supply additional error context.
|
HTTP status codes can be used to supply additional error context.
|
||||||
|
|
||||||
|
|
||||||
|
### Authenticating Proxy
|
||||||
|
|
||||||
|
The API server can be configured to identify users from request header values, such as `X-Remote-User`.
|
||||||
|
It is designed for use in combination with an authenticating proxy, which sets the request header value.
|
||||||
|
In order to prevent header spoofing, the authenticating proxy is required to present a valid client
|
||||||
|
certificate to the API server for validation against the specified CA before the request headers are
|
||||||
|
checked.
|
||||||
|
|
||||||
|
* `--requestheader-username-headers` Required, case-insensitive. Header names to check, in order, for the user identity. The first header containing a value is used as the identity.
|
||||||
|
* `--requestheader-client-ca-file` Required. PEM-encoded certificate bundle. A valid client certificate must be presented and validated against the certificate authorities in the specified file before the request headers are checked for user names.
|
||||||
|
* `--requestheader-allowed-names` Optional. List of common names (cn). If set, a valid client certificate with a Common Name (cn) in the specified list must be presented before the request headers are checked for user names. If empty, any Common Name is allowed.
|
||||||
|
|
||||||
|
|
||||||
### Keystone Password
|
### Keystone Password
|
||||||
|
|
||||||
Keystone authentication is enabled by passing the `--experimental-keystone-url=<AuthURL>`
|
Keystone authentication is enabled by passing the `--experimental-keystone-url=<AuthURL>`
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ setfacl -m g:kvm:--x ~
|
|||||||
|
|
||||||
By default, the libvirt-coreos setup will create a single Kubernetes master and 3 Kubernetes nodes. Because the VM drives use Copy-on-Write and because of memory ballooning and KSM, there is a lot of resource over-allocation.
|
By default, the libvirt-coreos setup will create a single Kubernetes master and 3 Kubernetes nodes. Because the VM drives use Copy-on-Write and because of memory ballooning and KSM, there is a lot of resource over-allocation.
|
||||||
|
|
||||||
There is both an automated way and a manual, customizable way of setting up libvert Kubernetes clusters on CoreOS.
|
There is both an automated way and a manual, customizable way of setting up libvirt Kubernetes clusters on CoreOS.
|
||||||
|
|
||||||
#### Automated setup
|
#### Automated setup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user