parent
							
								
									76bd752c41
								
							
						
					
					
						commit
						0f881b20d7
					
				| 
						 | 
				
			
			@ -42,7 +42,7 @@ file for the Pod defines a command and two arguments:
 | 
			
		|||
 | 
			
		||||
1. Create a Pod based on the YAML configuration file:
 | 
			
		||||
 | 
			
		||||
        kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/commands.yaml
 | 
			
		||||
        kubectl create -f http://k8s.io/docs/tasks/inject-data-application/commands.yaml
 | 
			
		||||
 | 
			
		||||
1. List the running Pods:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,7 +37,7 @@ Pod:
 | 
			
		|||
 | 
			
		||||
1. Create a Pod based on the YAML configuration file:
 | 
			
		||||
 | 
			
		||||
        kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/envars.yaml
 | 
			
		||||
        kubectl create -f http://k8s.io/docs/tasks/inject-data-application/envars.yaml
 | 
			
		||||
 | 
			
		||||
1. List the running Pods:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -59,7 +59,7 @@ fields of the Container in the Pod.
 | 
			
		|||
Create the Pod:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/dapi-volume.yaml
 | 
			
		||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume.yaml
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Verify that Container in the Pod is running:
 | 
			
		||||
| 
						 | 
				
			
			@ -168,7 +168,7 @@ should be stored in a file named `cpu_limit`.
 | 
			
		|||
Create the Pod:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/dapi-volume-resources.yaml
 | 
			
		||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume-resources.yaml
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Get a shell into the Container that is running in your Pod:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue