Skip to content

Commit 7a74835

Browse files
authored
Merge pull request docker#10304 from usha-mandya/yaml-format-patch
fix yaml formatting
2 parents 1c21115 + 72fd8b3 commit 7a74835

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

get-started/kube-deploy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In order to validate that our containerized application works well on Kubernetes
2424

2525
All containers in Kubernetes are scheduled as _pods_, which are groups of co-located containers that share some resources. Furthermore, in a realistic application we almost never create individual pods; instead, most of our workloads are scheduled as _deployments_, which are scalable groups of pods maintained automatically by Kubernetes. Lastly, all Kubernetes objects can and should be described in manifests called _Kubernetes YAML_ files. These YAML files describe all the components and configurations of your Kubernetes app, and can be used to easily create and destroy your app in any Kubernetes environment.
2626

27-
1. You already wrote a very basic Kubernetes YAML file in the Orchestration overview part of this tutorial. Now, let's write a slightly more sophisticated YAML file to run and manage our bulletin board. Place the following in a file called `bb.yaml`:
27+
1. You already wrote a very basic Kubernetes YAML file in the Orchestration overview part of this tutorial. Now, let's write a slightly more sophisticated YAML file to run and manage our bulletin board. Place the following in a file called `bb.yaml`:
2828

2929
```yaml
3030
apiVersion: apps/v1
@@ -73,7 +73,7 @@ All containers in Kubernetes are scheduled as _pods_, which are groups of co-loc
7373

7474
## Deploy and check your application
7575

76-
1. In a terminal, navigate to where you created `bb.yaml` and deploy your application to Kubernetes:
76+
1. In a terminal, navigate to where you created `bb.yaml` and deploy your application to Kubernetes:
7777

7878
```shell
7979
kubectl apply -f bb.yaml
@@ -86,7 +86,7 @@ All containers in Kubernetes are scheduled as _pods_, which are groups of co-loc
8686
service/bb-entrypoint created
8787
```
8888

89-
2. Make sure everything worked by listing your deployments:
89+
2. Make sure everything worked by listing your deployments:
9090

9191
```shell
9292
kubectl get deployments
@@ -111,9 +111,9 @@ All containers in Kubernetes are scheduled as _pods_, which are groups of co-loc
111111

112112
In addition to the default `kubernetes` service, we see our `bb-entrypoint` service, accepting traffic on port 30001/TCP.
113113

114-
3. Open a browser and visit your bulletin board at `localhost:30001`; you should see your bulletin board, the same as when we ran it as a stand-alone container in [Part 2](part2.md) of the Quickstart tutorial.
114+
3. Open a browser and visit your bulletin board at `localhost:30001`; you should see your bulletin board, the same as when we ran it as a stand-alone container in [Part 2](part2.md) of the Quickstart tutorial.
115115

116-
4. Once satisfied, tear down your application:
116+
4. Once satisfied, tear down your application:
117117

118118
```shell
119119
kubectl delete -f bb.yaml

get-started/orchestration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Docker Desktop will set up Kubernetes for you quickly and easily. Follow the set
2929

3030
### Mac
3131

32-
1. After installing Docker Desktop, you should see a Docker icon in your menu bar. Click on it, and navigate to **Preferences** > **Kubernetes**.
32+
1. After installing Docker Desktop, you should see a Docker icon in your menu bar. Click on it, and navigate to **Preferences** > **Kubernetes**.
3333

34-
2. Check the checkbox labeled **Enable Kubernetes**, and click **Apply & Restart**. Docker Desktop will automatically set up Kubernetes for you. You'll know that Kubernetes has been successfully enabled when you see a green light beside 'Kubernetes _running_' in the Preferences menu.
34+
2. Check the checkbox labeled **Enable Kubernetes**, and click **Apply & Restart**. Docker Desktop will automatically set up Kubernetes for you. You'll know that Kubernetes has been successfully enabled when you see a green light beside 'Kubernetes _running_' in the Preferences menu.
3535

36-
3. In order to confirm that Kubernetes is up and running, create a text file called `pod.yaml` with the following content:
36+
3. In order to confirm that Kubernetes is up and running, create a text file called `pod.yaml` with the following content:
3737

3838
```yaml
3939
apiVersion: v1

0 commit comments

Comments
 (0)