Skip to content

Commit

Permalink
Merge pull request kubernetes#2027 from satnam6502/101
Browse files Browse the repository at this point in the history
Fix some 101 typos
  • Loading branch information
brendandburns committed Oct 28, 2014
2 parents e3fc475 + f17403d commit a619764
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/walkthrough/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ desiredState:
image: dockerfile/nginx
```
A pod definition is a declaration of a _desired state_. Desired state is a really important part of Kubernetes. Many things present a desired state to the system, and it is Kubernetes' responsibility to make sure that the current state matches the desired state. For example, when you create a Pod, you declare that you want the containers in it to be running. If the containers happen to not be running (program failure, ...), Kubernetes will continue to (re)create them for you until you delete the Pod.
A pod definition is a declaration of a _desired state_. Desired state is a very important concept in the Kubernetes model. Many things present a desired state to the system, and it is Kubernetes' responsibility to make sure that the current state matches the desired state. For example, when you create a Pod, you declare that you want the containers in it to be running. If the containers happen to not be running (e.g. program failure, ...), Kubernetes will continue to (re-)create them for you in order to drive them to the desired state. This process continues until you delete the Pod.
See the [design document](../../DESIGN.md) for more details.
### Volumes
Now that's great for a static webserver, but what about persistent storage? We know that the container file system only lives as long as the container does, we need more persistent storage. To do this, you also declare a ```volume``` as part of your pod, and mount it into a container:
Now that's great for a static web server, but what about persistent storage? We know that the container file system only lives as long as the container does, so we need more persistent storage. To do this, you also declare a ```volume``` as part of your pod, and mount it into a container:

```yaml
apiVersion: v1beta1
Expand All @@ -51,6 +51,7 @@ desiredState:
```

Ok, so what did we do? We added a volume to our pod:

```yaml
...
volumes:
Expand Down

0 comments on commit a619764

Please sign in to comment.