From b4cca9f4757bacf6c6eff6260e5a4b699917c525 Mon Sep 17 00:00:00 2001 From: Rodion Miromind Date: Mon, 6 Dec 2021 13:14:09 +0300 Subject: [PATCH 1/4] Update add-new-nodes.md --- .../cluster-operation/add-new-nodes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/docs/installing-on-linux/cluster-operation/add-new-nodes.md b/content/en/docs/installing-on-linux/cluster-operation/add-new-nodes.md index 866aa2f5d..30bdf0ad8 100644 --- a/content/en/docs/installing-on-linux/cluster-operation/add-new-nodes.md +++ b/content/en/docs/installing-on-linux/cluster-operation/add-new-nodes.md @@ -1,12 +1,12 @@ --- -title: "Add New Nodes" +title: "Add New Nodes to a Kubernetes Cluster" keywords: 'Kubernetes, KubeSphere, scale-out, add-nodes' description: 'Add more nodes to scale out your cluster.' linkTitle: "Add New Nodes" weight: 3610 --- -After you use KubeSphere for a certain period of time, it is likely that you need to scale out your cluster with an increasing number of workloads. From KubeSphere v3.0.0, you can use the brand-new installer [KubeKey](https://github.com/kubesphere/kubekey) to add new nodes to a cluster. Fundamentally, the operation is based on Kubelet's registration mechanism. In other words, the new nodes will automatically join the existing Kubernetes cluster. KubeSphere supports hybrid environments, which means the newly-added host OS can be CentOS or Ubuntu. +After you use KubeSphere for a certain period of time, it is likely that you need to scale out your cluster with an increasing number of workloads. From KubeSphere v3.0.0, you can use the brand-new installer [KubeKey](https://github.com/kubesphere/kubekey) to add new nodes to a Kubernetes cluster. Fundamentally, the operation is based on Kubelet's registration mechanism. In other words, the new nodes will automatically join the existing Kubernetes cluster. KubeSphere supports hybrid environments, which means the newly-added host OS can be CentOS or Ubuntu. This tutorial demonstrates how to add new nodes to a single-node cluster. To scale out a multi-node cluster, the steps are basically the same. @@ -16,7 +16,7 @@ This tutorial demonstrates how to add new nodes to a single-node cluster. To sca - You have [downloaded KubeKey](../../../installing-on-linux/introduction/multioverview/#step-2-download-kubekey). -## Add Worker Nodes +## Add Worker Nodes to Kubernetes 1. Retrieve your cluster information using KubeKey. The command below creates a configuration file (`sample.yaml`). @@ -74,7 +74,7 @@ You can skip this step if you already have the configuration file on your machin node2 Ready worker 31h v1.17.9 ``` -## Add Master Nodes for High Availability +## Add New Master Nodes for High Availability The steps of adding master nodes are generally the same as adding worker nodes while you need to configure a load balancer for your cluster. You can use any cloud load balancers or hardware load balancers (for example, F5). In addition, Keepalived and [HAproxy](https://www.haproxy.com/), or Nginx is also an alternative for creating highly available clusters. From fd5ea2233259e485e2c39d1c069a01f6389f6a11 Mon Sep 17 00:00:00 2001 From: Rodion Miromind Date: Mon, 6 Dec 2021 13:15:48 +0300 Subject: [PATCH 2/4] Update secrets.md --- .../docs/project-user-guide/configuration/secrets.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/project-user-guide/configuration/secrets.md b/content/en/docs/project-user-guide/configuration/secrets.md index 9b5eada76..c2043b065 100644 --- a/content/en/docs/project-user-guide/configuration/secrets.md +++ b/content/en/docs/project-user-guide/configuration/secrets.md @@ -1,5 +1,5 @@ --- -title: "Secrets" +title: "Kubernetes Secrets in KubeSphere" keywords: 'KubeSphere, Kubernetes, Secrets' description: 'Learn how to create a Secret on KubeSphere.' linkTitle: "Secrets" @@ -18,7 +18,7 @@ This tutorial demonstrates how to create a Secret in KubeSphere. You need to create a workspace, a project and a user (`project-regular`). The user must be invited to the project with the role of `operator`. For more information, see [Create Workspaces, Projects, Users and Roles](../../../quick-start/create-workspace-and-project/). -## Create a Secret +## Create a Kubernetes Secret ### Step 1: Open the dashboard @@ -36,7 +36,7 @@ You can see the Secret's manifest file in YAML format by enabling **Edit YAML** ### Step 3: Set a Secret -1. Under the tab **Data Settings**, you must select a Secret type. In KubeSphere, you can create the following types of Secrets, indicated by the `type` field. +1. Under the tab **Data Settings**, you must select a Secret type. In KubeSphere, you can create the following Kubernetes Secret types, indicated by the `type` field. {{< notice note >}} @@ -80,7 +80,7 @@ As mentioned above, KubeSphere automatically converts the value of a key into it - **Delete**: Delete the Secret, and return to the list page. -## Use a Secret +## How to Use a Kubernetes Secret Generally, you need to use a Secret when you create workloads, [Services](../../../project-user-guide/application-workloads/services/), [Jobs](../../../project-user-guide/application-workloads/jobs/) or [CronJobs](../../../project-user-guide/application-workloads/cronjobs/). For example, you can select a Secret for a code repository. For more information, see [Image Registries](../image-registry/). @@ -118,4 +118,4 @@ This section shows how to create Secrets from your Docker Hub account and GitHub **Password**: Enter your GitHub password. -3. Click **Create** to finish. \ No newline at end of file +3. Click **Create** to finish. From d19d5c384e0894a44fa781c7163bdab896c6d5fb Mon Sep 17 00:00:00 2001 From: Rodion Miromind Date: Mon, 6 Dec 2021 13:17:28 +0300 Subject: [PATCH 3/4] Update statefulsets.md --- .../application-workloads/statefulsets.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/project-user-guide/application-workloads/statefulsets.md b/content/en/docs/project-user-guide/application-workloads/statefulsets.md index 538bb7b37..833c7f925 100644 --- a/content/en/docs/project-user-guide/application-workloads/statefulsets.md +++ b/content/en/docs/project-user-guide/application-workloads/statefulsets.md @@ -1,12 +1,12 @@ --- -title: "StatefulSets" +title: "Kubernetes StatefulSet in KubeSphere" keywords: 'KubeSphere, Kubernetes, StatefulSets, Dashboard, Service' description: 'Learn basic concepts of StatefulSets and how to create StatefulSets on KubeSphere.' linkTitle: "StatefulSets" weight: 10220 --- -As a workload API object, a StatefulSet is used to manage stateful applications. It is responsible for the deploying, scaling of a set of Pods, and guarantees the ordering and uniqueness of these Pods. +As a workload API object, a Kubernetes StatefulSet is used to manage stateful applications. It is responsible for the deploying, scaling of a set of Pods, and guarantees the ordering and uniqueness of these Pods. Like a Deployment, a StatefulSet manages Pods that are based on an identical container specification. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of their Pods. These Pods are created from the same specification, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling. @@ -25,7 +25,7 @@ For more information, see the [official documentation of Kubernetes](https://kub You need to create a workspace, a project and a user (`project-regular`). The user must be invited to the project with the role of `operator`. For more information, see [Create Workspaces, Projects, Users and Roles](../../../quick-start/create-workspace-and-project/). -## Create a StatefulSet +## Create a Kubernetes StatefulSet In KubeSphere, a **Headless** service is also created when you create a StatefulSet. You can find the headless service in [Services](../services/) under **Application Workloads** in a project. @@ -78,7 +78,7 @@ StatefulSets can use the volume template, but you must create it in **Storage** ### Step 5: Configure advanced settings -You can set a policy for node scheduling and add metadata in this section. When you finish, click **Create** to complete the whole process of creating a StatefulSet. +You can set a policy for node scheduling and add StatefulSet metadata in this section. When you finish, click **Create** to complete the whole process of creating a StatefulSet. - **Select Nodes** @@ -88,7 +88,7 @@ You can set a policy for node scheduling and add metadata in this section. When Additional metadata settings for resources such as **Labels** and **Annotations**. -## Check StatefulSet Details +## Check Kubernetes StatefulSet Details ### Details page From 27c85d72fbddbb5854c1f14ad6c9b5f5e251babc Mon Sep 17 00:00:00 2001 From: Rodion Miromind Date: Mon, 6 Dec 2021 13:18:28 +0300 Subject: [PATCH 4/4] Update daemonsets.md --- .../project-user-guide/application-workloads/daemonsets.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/project-user-guide/application-workloads/daemonsets.md b/content/en/docs/project-user-guide/application-workloads/daemonsets.md index 77c0dfefd..0c3159e77 100644 --- a/content/en/docs/project-user-guide/application-workloads/daemonsets.md +++ b/content/en/docs/project-user-guide/application-workloads/daemonsets.md @@ -1,5 +1,5 @@ --- -title: "DaemonSets" +title: "Kubernetes DaemonSets in KubeSphere" keywords: 'KubeSphere, Kubernetes, DaemonSet, workload' description: 'Learn basic concepts of DaemonSets and how to create DaemonSets in KubeSphere.' linkTitle: "DaemonSets" @@ -10,7 +10,7 @@ A DaemonSet manages groups of replicated Pods while it ensures that all (or some For more information, see the [official documentation of Kubernetes](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/). -## Use DaemonSets +## Use Kubernetes DaemonSets DaemonSets are very helpful in cases where you want to deploy ongoing background tasks that run on all or certain nodes without any user intervention. For example: @@ -77,7 +77,7 @@ You can add metadata in this section. When you finish, click **Create** to compl Additional metadata settings for resources such as **Labels** and **Annotations**. -## Check DaemonSet Details +## Check Kubernetes DaemonSet Details ### Details page