mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	fix list enumeration
Right now list items are rendered as "1.", "1." instead of "1.", "2.", see http://kubernetes.io/v1.1/docs/user-guide/walkthrough/README.html#volumes
This commit is contained in:
		@@ -129,21 +129,21 @@ For this example we'll be creating a Redis pod with a named volume and volume mo
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
1. Define a volume:
 | 
					1. Define a volume:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ```yaml
 | 
					   ```yaml
 | 
				
			||||||
    volumes:
 | 
					     volumes:
 | 
				
			||||||
    - name: redis-persistent-storage
 | 
					     - name: redis-persistent-storage
 | 
				
			||||||
      emptyDir: {}
 | 
					       emptyDir: {}
 | 
				
			||||||
  ```
 | 
					   ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2. Define a volume mount within a container definition:
 | 
					2. Define a volume mount within a container definition:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ```yaml
 | 
					   ```yaml
 | 
				
			||||||
    volumeMounts:
 | 
					     volumeMounts:
 | 
				
			||||||
    # name must match the volume name below
 | 
					     # name must match the volume name below
 | 
				
			||||||
    - name: redis-persistent-storage
 | 
					     - name: redis-persistent-storage
 | 
				
			||||||
      # mount path within the container
 | 
					       # mount path within the container
 | 
				
			||||||
      mountPath: /data/redis
 | 
					       mountPath: /data/redis
 | 
				
			||||||
  ```
 | 
					   ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Example Redis pod definition with a persistent storage volume ([pod-redis.yaml](pod-redis.yaml)):
 | 
					Example Redis pod definition with a persistent storage volume ([pod-redis.yaml](pod-redis.yaml)):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user