anchor.diff:  
   	kubectl create -f templates/deployment.yaml --record
   
  -The *--record* flag will track changes made through each revision.
  +The `--record` flag will track changes made through each revision.
   
   To monitor deployment rollout status:
   
   	kubectl rollout status deployment/nginx-deployment
   
  +A Deployment creates a ReplicaSet to manage the number of replicas. Lets take a look at existing deployments and replica set.
  +
  +```
  +$ kubectl get deployments
  +$ kubectl get replicaset
  +```
  +
   To obtain state of the deployment:
   
   	kubectl get deployments
   
  -=== Updating a Deployment
  +=== Update a Deployment
  +
   You can update the Deployment by making edits to the spec template. In this example, let's change to the latest nginx image.
   
   First, type the following to open up the text editor:
   
   	kubectl edit deployment/nginx-deployment
   
  -Next, change the image from *nginx:1.12.1* to *nginx:latest*.
  +Next, change the image from `nginx:1.12.1` to `nginx:latest`.
   
   This should perform a rolling update of the deployment. To track the deployment details such as revision, image version, and ports - type in the following:
   
  
positive.code: 	  9m            9m              1       replicaset-controller                   Normal          SuccessfulCreate        Created pod: nginx-replicaset-1b05f
  	  9m            9m              1       replicaset-controller                   Normal          SuccessfulCreate        Created pod: nginx-replicaset-bftwj
  
  === Scaling a Replica Set
  
  === Deleting a Replica Set
  
  == Daemon Sets
  DeamonSets allow the cluster of nodes to run a specified pod. As nodes are added, pods are added. As nodes are removed, pods are removed through garbage collection.  
  
  === Creating a DaemonSet
  The folowing will be an example DaemonSet that runs a logstash image. Let's begin with the template:
  
  	apiVersion: extensions/v1beta1
  
negative.code: 	  6s            6s              1       daemon-set                      Normal          SuccessfulCreate        Created pod: logstash-daemonset-b0w72
  	  6s            6s              1       daemon-set                      Normal          SuccessfulCreate        Created pod: logstash-daemonset-hb365
  
  === Limit DaemonSets to specific nodes
  
  Verify that the logstash pod was successfully deployed to the cluster nodes:
  
  	kubectl get pods -o wide
  