Skip to content

Commit c7daac3

Browse files
committed
Apply suggestions from code review
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent c941e50 commit c7daac3

File tree

1 file changed

+13
-13
lines changed
  • content/en/blog/_posts/2024-03-11-diy-create-your-own-cloud-with-kubernetes-part-3

1 file changed

+13
-13
lines changed

content/en/blog/_posts/2024-03-11-diy-create-your-own-cloud-with-kubernetes-part-3/index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,30 @@ It facilitates the deployment of Kubernetes control planes in containers, thus r
6464

6565
## How it works
6666

67-
The primary object in Cluster API is the `Cluster` resource, which acts as the parent for all the others. Typically, this resource references two others: a resource describing the **control plane** and a resource describing the **infrastructure**, each managed by a separate provider.
67+
The primary object in Cluster API is the Cluster resource, which acts as the parent for all the others. Typically, this resource references two others: a resource describing the **control plane** and a resource describing the **infrastructure**, each managed by a separate provider.
6868

69-
Unlike the Cluster, these two resources are not standardized, and their `kind` depends on the specific provider you are using:
69+
Unlike the Cluster, these two resources are not standardized, and their kind depends on the specific provider you are using:
7070

71-
{{< figure src="clusterapi2.svg" caption="A diagram showing the relationship of a `Cluster` resource and the resources it links to in Cluster API" alt="A diagram showing the relationship of a Cluster resource and the resources it links to in Cluster API" >}}
71+
{{< figure src="clusterapi2.svg" caption="A diagram showing the relationship of a Cluster resource and the resources it links to in Cluster API" alt="A diagram showing the relationship of a Cluster resource and the resources it links to in Cluster API" >}}
7272

73-
Within Cluster API, there is also a resource named `MachineDeployment`, which describes a group of nodes, whether they are physical servers or virtual machines. This resource functions similarly to standard Kubernetes resources such as Deployment, ReplicaSet, and Pod, providing a mechanism for the declarative description of a group of nodes and automatic scaling.
73+
Within Cluster API, there is also a resource named MachineDeployment, which describes a group of nodes, whether they are physical servers or virtual machines. This resource functions similarly to standard Kubernetes resources such as Deployment, ReplicaSet, and Pod, providing a mechanism for the declarative description of a group of nodes and automatic scaling.
7474

75-
In other words, the `MachineDeployment` resource allows you to declaratively describe nodes for your cluster, automating their creation, deletion, and updating according to specified parameters and the requested number of replicas.
75+
In other words, the MachineDeployment resource allows you to declaratively describe nodes for your cluster, automating their creation, deletion, and updating according to specified parameters and the requested number of replicas.
7676

77-
{{< figure src="machinedeploymentres.svg" caption="A diagram showing the relationship of a `MachineDeployment` resource and its children in Cluster API" alt="A diagram showing the relationship of a Cluster resource and its children in Cluster API" >}}
77+
{{< figure src="machinedeploymentres.svg" caption="A diagram showing the relationship of a MachineDeployment resource and its children in Cluster API" alt="A diagram showing the relationship of a Cluster resource and its children in Cluster API" >}}
7878

7979
To create machines, MachineDeployment refers to a template for generating the machine itself and a template for generating its cloud-init config:
8080

81-
{{< figure src="clusterapi3.svg" caption="A diagram showing the relationship of a `MachineDeployment` resource and the resources it links to in Cluster API" alt="A diagram showing the relationship of a Cluster resource and the resources it links to in Cluster API" >}}
81+
{{< figure src="clusterapi3.svg" caption="A diagram showing the relationship of a MachineDeployment resource and the resources it links to in Cluster API" alt="A diagram showing the relationship of a Cluster resource and the resources it links to in Cluster API" >}}
8282

8383
To deploy a new Kubernetes cluster using Cluster API, you will need to prepare the following set of resources:
8484

85-
- A general `Cluster` resource
86-
- A `KamajiControlPlane` resource, responsible for the control plane operated by Kamaji
87-
- A `KubevirtCluster` resource, describing the cluster configuration in KubeVirt
88-
- A `KubevirtMachineTemplate` resource, responsible for the virtual machine template
89-
- A `KubeadmConfigTemplate` resource, responsible for generating tokens and cloud-init
90-
- At least one `MachineDeployment` to create some workers
85+
- A general Cluster resource
86+
- A KamajiControlPlane resource, responsible for the control plane operated by Kamaji
87+
- A KubevirtCluster resource, describing the cluster configuration in KubeVirt
88+
- A KubevirtMachineTemplate resource, responsible for the virtual machine template
89+
- A KubeadmConfigTemplate resource, responsible for generating tokens and cloud-init
90+
- At least one MachineDeployment to create some workers
9191

9292
## Polishing the cluster
9393

0 commit comments

Comments
 (0)