Skip to content

Commit bf1e15c

Browse files
committed
docs: iteration to guide
1 parent 1c43583 commit bf1e15c

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

docs/guide/k8s-secret.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
Runme provides a platform for documenting processes and instructions. It integrates swiftly with cloud infrastructures, including Kubernetes and its resources.
44

5-
This guide will explore one such resource, Kubernetes secrets, with a specific focus on sealed secrets.
5+
This guide will explore one such resource, Kubernetes secrets, with a specific focus on Sealed Secrets.
66

77
[Sealed Secrets](https://archive.eksworkshop.com/beginner/200_secrets/installing-sealed-secrets/) is an open-source project that helps encrypt Kubernetes secrets, which can then be securely stored in your version control. Runme makes securing these secrets easier.
88

9-
In this guide, we will demonstrate the steps required to encrypt Kubernetes secrets with sealed secrets in Runme successfully.
9+
In this guide, we will demonstrate the steps required to encrypt Kubernetes secrets with Sealed Secrets in Runme successfully.
1010

1111
## **Prerequisites**[](https://docs-runme-55rq3q1vz-stateful.vercel.app/guide/k8s-secret#prerequisites)
1212

1313
To get started, ensure you have the following:
1414

15-
- **Clone the repo**: We created a [notebook repo](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret/sealed-secret) containing all the instructions and commands required for this guide.
16-
- **Install Runme**: Install the [Runme extension on VS Code](https://marketplace.visualstudio.com/items?itemName=stateful.runme) and set it as your [default markdown Viewer.](https://docs.runme.dev/installation/installrunme#how-to-set-vs-code-as-your-default-markdown-viewer)
15+
- **Clone the repository**: We created a [notebook repository](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret/sealed-secret) containing all the instructions and commands required for this guide.
16+
- **Install Runme**: Install the [Runme extension on VS Code](https://marketplace.visualstudio.com/items?itemName=stateful.runme) and set it as your [default Markdown viewer.](https://docs.runme.dev/installation/installrunme#how-to-set-vs-code-as-your-default-markdown-viewer)
1717

1818
This guide will focus on using the Mac specifications. If you use a Linux OS, follow the instructions in the [Linux Markdown files.](https://github.com/stateful/blog-examples/blob/main/kubernetes/k8s-secret/sealed-secret/linux-sealedsecrets.md)
1919

2020
### Install all Dependencies
2121

22-
To follow up on securing your secrets using sealed secrets, ensure you install the necessary dependencies in the notebook's prerequisite section. In your Runme cell, run the commands below to install all dependencies required for this guide.
22+
To follow up on securing your secrets using Sealed Secrets, ensure you install the necessary dependencies in the notebook's prerequisite section. In your Runme cell, run the commands below to install all dependencies required for this guide.
2323

2424
<video autoPlay loop muted playsInline controls>
2525
<source src="/videos/sealed-secrets-runme.mp4" type="video/mp4" />
@@ -30,7 +30,7 @@ To follow up on securing your secrets using sealed secrets, ensure you install t
3030

3131
To encrypt a secret, you must create a Kubernetes secret using `kubeseal`. Navigate to your cloned repo's ‘Encrypt a Secret’ section and [choose your preferred encryption method from the options provided.](https://github.com/stateful/blog-examples/blob/main/kubernetes/k8s-secret/sealed-secret/Mac-sealedsecret.md#encrypt-a-secret) Once that is done, run the command below in your Runme cell.
3232

33-
Runme will automatically create a sealed secret resource containing the encrypted data, the **`mysealedsecret.yaml`**
33+
Runme will automatically create a Sealed Secret resource containing the encrypted data, the **`mysealedsecret.yaml`**
3434

3535
### Adding New Value to A Secret
3636

@@ -60,9 +60,9 @@ To deploy your secret, execute the code below:
6060

6161
![deploy sealed](../../static/img/guide-page/sealed-apply.png)
6262

63-
The Sealed Secrets controller will decrypt the SealedSecret and create a Kubernetes Secret with the decrypted data.
63+
The Sealed Secrets controller will decrypt the Sealed Secret and create a Kubernetes Secret with the decrypted data.
6464

65-
Make sure to replace placeholders like **`mysecret.yaml`** and **`mysealedsecret.yaml`** with your secret and sealed secret filenames. Adjust controller-specific details such as the namespace and name according to your environment.
65+
Make sure to replace placeholders like **`mysecret.yaml`** and **`mysealedsecret.yaml`** with your secret and Sealed Secret filenames. Adjust controller-specific details such as the namespace and name according to your environment.
6666

6767
## How Runme Improves Your Documentation Experience
6868

docs/guide/replicaset.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# How to Optimize Kubernetes Replicaset Using Runme
22

33
Runme provides a platform that allows you to create standardized procedures for configuring, deploying, and managing your everyday operational tools and resources.
4-
Working with essential kubernetes controller like [ReplicaSets](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/) ensures that you have high availability of your pod and improve the scalability of your applications . With Runme, you can optimize these process right within your Markdown file!
4+
Working with essential Kubernetes controller like [ReplicaSets](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/) ensures that you have high availability of your pod and improve the scalability of your applications. With Runme, you can optimize these process right within your Markdown file!
55

6-
This guide will show you a step-by-step guide to configure and deploy your Kubernetes ReplicaSets within your Runme Notebook.
6+
This guide will show you a step-by-step process to configure and deploy your Kubernetes ReplicaSets within your Runme Notebook.
77

88
## Prerequisites
99

1010
To follow up on this tutorial, ensure you have the following:
1111

1212
- **Runme Extension**: Install the [Runme extension](https://marketplace.visualstudio.com/items?itemName=stateful.runme) in your VS Code editor and make it your [default Markdown viewer](https://docs.runme.dev/installation/installrunme#how-to-set-vs-code-as-your-default-markdown-viewer). Runme also provides other client interfaces where you can run your Markdown file. See the [Runme installation](../installation/index.md) guide.
13-
- **Clone Repo**: We have provided an example repo to help you follow this tutorial. Clone the [repo here](https://github.com/stateful/blog-examples/tree/main/kubernetes/replicaset).
14-
- **Require Packages**: Install the required packages (brew, kind, and kubectl) inside your Markdown file. *Runme allows you to achieve this! Simply run the command in the [prerequisite section](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/replicaset-mac.md#prerequisites) in the repo*.
13+
- **Clone Repository**: We have provided an example repository to help you follow this tutorial. Clone the [Repository here](https://github.com/stateful/blog-examples/tree/main/kubernetes/replicaset).
14+
- **Require Packages**: Install the required packages (brew, kind, and kubectl) inside your Markdown file. *Runme allows you to achieve this! Simply run the command in the [prerequisite section](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/replicaset-mac.md#prerequisites) in the repository*.
1515

1616
To get started, we have already [created a ReplicaSet](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/manifest.yaml) using a YAML configuration file. Here, we will demonstrate how you can manage the deployment of the Replicaset with Kubernetes. Before we deploy the ReplicaSet to Kubernetes, let us apply the functionalities to this file within your Runme cell.
1717

1818
## Configure your ReplicaSet for deployment in Runme
1919

2020
**Apply ReplicaSet Configurations in Runme**
2121

22-
In your cell, run the command below. This command instructs Kubernetes to create and update the resources specified in the YAML file. :
22+
In your cell, run the command below. This command instructs Kubernetes to create and update the resources specified in the YAML file:
2323

2424
![apply-manifest](../../static/img/guide-page/runme-apply-manifest.png)
2525

@@ -41,7 +41,7 @@ If you want to modify the desired number of replicas for the specified ReplicaSe
4141

4242
![number-replica](../../static/img/guide-page/runme-get-scale.png)
4343

44-
The `--replicas=` command helps you set the number of replica pods you want
44+
The `--replicas=` command helps you set the number of replica pods you want
4545

4646
When the command is executed, Runme displays a confirmation message indicating that the ReplicaSet has been scaled.
4747

@@ -51,7 +51,7 @@ To follow the logs of a specific pod in real time, run the command below
5151

5252
![replica-log](../../static/img/guide-page/runme-replica-logs.png)
5353

54-
When this command is executed, Runme returns logs about the specific Pod. This information can be used to debug or troubleshoot a pod. As provided in the image above
54+
When this command is executed, Runme returns logs about the specific pod. This information can be used to debug or troubleshoot a pod. As provided in the image above
5555

5656
## How to Manage ReplicaSets Using a Deployment in Runme
5757

@@ -61,7 +61,7 @@ This section will walk you through the step-by-step process of managing ReplicaS
6161

6262
**Step One: Deploy your application with Runme**
6363

64-
You need to create a manifest file to deploy your application to your Kubernetes cluster. For the tutorial, we will be deploying an [NGINX web server application](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/nginx-deployment.yaml). This Kubernetes manifest deploys our NGINX application into the "runme" namespace and specifies that it should manage a set of 5 identical Pods running the NGINX web server.
64+
You need to create a manifest file to deploy your application to your Kubernetes cluster. For the tutorial, we will be deploying an [NGINX web server application](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/nginx-deployment.yaml). This Kubernetes manifest deploys our NGINX application into the "runme" namespace and specifies that it should manage a set of 5 identical Pods running the NGINX web server.
6565

6666
**Step Two: Update the Manifest File**
6767

@@ -77,7 +77,7 @@ This will update your deployment with the defined ReplicaSet.
7777

7878
ReplicaSet ensures that the specified number of identical pods are running at all times, so if a pod gets deleted, the ReplicaSet automatically creates a replacement pod to maintain the desired replica count. To delete a pod, run the command below in your Runme cell, and you will see an output that is identical to the one generated in the image.
7979

80-
![delet pod](../../static/img/guide-page/runme-delete-pod.png)
80+
![delete pod](../../static/img/guide-page/runme-delete-pod.png)
8181

8282
**Step Four: View Kubernetes Events in your Runme terminal**
8383

docs/guide/sops.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ In this guide, we will walk you through automating your [Kubernetes Secrets](htt
1212

1313
To get started, ensure you have the following:
1414

15-
- **Clone the Repo**: We have created a notebook repo containing all the instructions and commands required for this guide. Ensure to [clone the repo](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret).
15+
- **Clone the Repository**: We have created a notebook repository containing all the instructions and commands required for this guide. Ensure to [clone the repository](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret).
1616
- **Install Runme:** Install the [Runme extension on VS Code](https://marketplace.visualstudio.com/items?itemName=stateful.runme) and set Runme as your [default Markdown viewer.](https://docs.runme.dev/installation/installrunme#how-to-set-vs-code-as-your-default-markdown-viewer)
17-
- **Require Packages**: Install the required packages (brew, kind, and kubectl) inside your Markdown file. *Runme allows you to achieve this! Simply run the command in the [prerequisite section](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/replicaset-mac.md#prerequisites) of the repo.*
17+
- **Require Packages**: Install the required packages (brew, kind, and kubectl) inside your Markdown file. *Runme allows you to achieve this! Simply run the command in the [prerequisite section](https://github.com/stateful/blog-examples/blob/main/kubernetes/replicaset/replicaset-mac.md#prerequisites) of the repository.*
1818

1919
This guide will focus on using the Mac specifications. If you use a Linux OS, follow the instructions in the [Linux Markdown files](https://github.com/stateful/blog-examples/blob/main/kubernetes/k8s-secret/sops/sops-linux.md).
2020

2121
## **Securing Secrets with SOPS**[](https://docs-runme-55rq3q1vz-stateful.vercel.app/guide/k8s-secret#securing-secrets-with-sops)
2222

2323
To encrypt your Kubernetes secrets using SOPS, you need an advanced security measure, access to a cloud provider, and a Key Management Service (KMS). For this guide, we will use an [AWS KMS key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys).
2424

25-
Navigate to the [SOPS file](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret/sops) in the repo you cloned earlier and open the Markdown file based on the specifications of your operating system to follow up on this section of the guide.
25+
Navigate to the [SOPS file](https://github.com/stateful/blog-examples/tree/main/kubernetes/k8s-secret/sops) in the repository you cloned earlier and open the Markdown file based on the specifications of your operating system to follow up on this section of the guide.
2626

2727
### **Installation of SOPS**[](https://docs-runme-55rq3q1vz-stateful.vercel.app/guide/k8s-secret#installation-of-sops)
2828

@@ -47,18 +47,18 @@ You can also save this output to the Runme cloud for future use with the [Runme
4747

4848
### **Configure SOPS in Runme** [](https://docs-runme-55rq3q1vz-stateful.vercel.app/guide/k8s-secret#configure-sops)
4949

50-
To configure your SOPS, specify how to encrypt your secrets, then define the encryption keys. To do this, navigate to the section on SOPS configuration and run the command in your Markdown file using Runme.
50+
To configure your SOPS, specify how to encrypt your secrets, and then define the encryption keys. To do this, navigate to the section on SOPS configuration and run the command in your Markdown file using Runme.
5151

5252
![sops](../../static/img/guide-page/configure-sops.png)
5353

5454
Once this is executed, it returns the configuration of your sops.yaml file to ensure that it is correct.
5555

5656
### **Encrypt Your Secrets**[](https://docs-runme-55rq3q1vz-stateful.vercel.app/guide/k8s-secret#encrypt-your-secrets)
5757

58-
To encrypt your secret, ensure you have set the following:
58+
To encrypt your secret, ensure you have the following information set:
5959

6060
- Your environment variables
61-
- Your manifest `runme-secrets.yaml` file containing your secrets. If you have not done this, create one using the following YAML manifest in [our repo](https://github.com/stateful/blog-examples/blob/main/kubernetes/k8s-secret/sops/runme-secrets.yaml).
61+
- Your manifest `runme-secrets.yaml` file containing your secrets. If you have not done this, create one using the following YAML manifest in [our repository ](https://github.com/stateful/blog-examples/blob/main/kubernetes/k8s-secret/sops/runme-secrets.yaml).
6262
- Click the **execute cell** button.
6363

6464
![encrypt](../../static/img/guide-page/runme-encrypt.png)
@@ -69,7 +69,7 @@ Now, we have successfully encrypted your secrets within `runme-secrets.yaml`. Ru
6969

7070
Similar to the encryption process, Runme lets you decrypt your encrypted security in your Markdown file. This will ensure that every process is properly automated.
7171

72-
To decrypt your secrets, navigate to the “Decrypt Secrets” section in the repo and run the command in your Markdown file with Runme.
72+
To decrypt your secrets, navigate to the “Decrypt Secrets” section in the repository and run the command in your Markdown file with Runme.
7373

7474
![decrypt](../../static/img/guide-page/runme-decrypt.png)
7575

@@ -87,8 +87,8 @@ This runs the `runme-secrets-enc.yaml` file decrypts it and then applies the fil
8787

8888
We successfully encrypted our Kubernetes secrets inside our Markdown file. Runme makes your automation process easy with its features.
8989

90-
One of these features is the [environment variable](https://docs-runme-ckcd767be-stateful.vercel.app/getting-started/features#environment-variable-prompts) feature, which allows users to input values directly within the notebook environment and use them whenever needed rather than inputting the value again.
90+
One of the useful features within the notebook environment is the [environment variable prompt](https://docs-runme-ckcd767be-stateful.vercel.app/getting-started/features#environment-variable-prompts). It allows users to input values directly and reuse them whenever needed.
9191

92-
Another amazing key feature of Runme is the [Autosave](https://docs.runme.dev/configuration/auto-save) feature, which automatically records and tracks every change and activity in your processes without manual intervention.
92+
Runme's [Autosave](https://docs.runme.dev/configuration/auto-save) feature automatically tracks all changes and activities without manual intervention.
9393

9494
To learn more about Runme and explore its features, visit the [Runme Documentation](https://docs.runme.dev/) to begin your journey to automating your operations processes.

0 commit comments

Comments
 (0)