mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
commit
bb2e216dee
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 'How to Deploy an HA Kubernetes Cluster on AWS | KubeSphere KubeKey'
|
||||
title: 'How to Deploy Kubernetes on AWS'
|
||||
tag: 'Kubernetes, HA, High Availability, AWS, KubeKey'
|
||||
keywords: 'Kubernetes, HA, High Availability, AWS, KubeKey, KubeSphere'
|
||||
description: 'The KubeKey tool can be used to quickly and efficiently deploy an HA Kubernetes cluster. This article demonstrates how to deploy an HA Kubernetes cluster on AWS.'
|
||||
|
|
@ -17,7 +17,7 @@ To meet the HA service requirements of Kubernetes in AWS, we need to ensure the
|
|||
|
||||
This article uses the AWS ELB service as an example.
|
||||
|
||||
## Prerequisites
|
||||
## Prerequisites for Deployment on AWS
|
||||
|
||||
- You need to create a storage system based on NFS, GlusterFS, or Ceph. In consideration of data persistence, we do not recommend OpenEBS for production environments. This article uses OpenEBS to configure LocalPV as the default storage service only for testing.
|
||||
- All nodes can be accessed over SSH.
|
||||
|
|
@ -252,4 +252,4 @@ Run the following commands to check the deployment result:
|
|||
kubernetes 192.168.0.10:6443,192.168.0.11:6443,192.168.0.12:6443 5m10s
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 'KubeKey: A Lightweight Installer for Kubernetes and Cloud Native Addons'
|
||||
title: 'How to Install Kubernetes the Easy Way Using KubeKey'
|
||||
keywords: Kubernetes, KubeSphere, KubeKey, addons, installer
|
||||
description: KubeKey allows you to deploy a Kubernetes cluster in the most graceful and efficient way.
|
||||
tag: 'KubeSphere, Kubernetes, KubeKey, addons, installer'
|
||||
|
|
@ -26,7 +26,7 @@ The general steps of installing Kubernetes using KubeKey:
|
|||
|
||||
## Prepare Hosts
|
||||
|
||||
I am going to create a cluster with three nodes on cloud. Here is my machine configuration for your reference:
|
||||
I am going to create a Kubernetes cluster with three nodes on cloud. Here is my machine configuration for your reference:
|
||||
|
||||
| Host IP | Host Name | Role | System |
|
||||
| ----------- | --------- | ------------ | ----------------------------------------- |
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ Run the following command to install Keepalived and HAproxy first.
|
|||
yum install keepalived haproxy psmisc -y
|
||||
```
|
||||
|
||||
### HAproxy
|
||||
### HAproxy Configuration
|
||||
|
||||
1. The configuration of HAproxy is exactly the same on the two machines for load balancing. Run the following command to configure HAproxy.
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ yum install keepalived haproxy psmisc -y
|
|||
|
||||
5. Make sure you configure HAproxy on the other machine (`lb2`) as well.
|
||||
|
||||
### Keepalived
|
||||
### Keepalived Configuration
|
||||
|
||||
Keepalived must be installed on both machines while the configuration of them is slightly different.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue