Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
a4da0e4e
Commit
a4da0e4e
authored
8 years ago
by
Antoine Legrand
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #375 from bogdando/ha_docs
Add ha docs
parents
a63b05ef
7d816aec
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ha-mode.md
+34
-0
34 additions, 0 deletions
docs/ha-mode.md
with
34 additions
and
0 deletions
docs/ha-mode.md
0 → 100644
+
34
−
0
View file @
a4da0e4e
HA endpoints for K8s
====================
The following components require a highly available endpoints:
*
etcd cluster,
*
kube-apiserver service instances.
The former provides the
[
etcd-proxy
](
https://coreos.com/etcd/docs/latest/proxy.html
)
service to access
the cluster members in HA fashion.
The latter relies on a 3rd side reverse proxies, like Nginx or HAProxy, to
achieve the same goal.
Etcd
----
Etcd proxies are deployed on each node in the
`k8s-cluster`
group. A proxy is
a separate etcd process. It has a
`localhost:2379`
frontend and all of the etcd
cluster members as backends. Note that the
`access_ip`
is used as the backend
IP, if specified. Frontend endpoints cannot be accessed externally as they are
bound to a localhost only.
The
`etcd_access_endpoint`
fact provides an access pattern for clients. And the
`etcd_multiaccess`
(defaults to
`false`
) group var controlls that behavior.
When enabled, it makes deployed components to access the etcd cluster members
directly:
`http://ip1:2379, http://ip2:2379,...`
. This mode assumes the clients
do a loadbalancing and handle HA for connections. Note, a pod definition of a
flannel networking plugin always uses a single
`--etcd-server`
endpoint!
Kube-apiserver
--------------
TODO(bogdando) TBD
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment