mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 05:40:42 +00:00 
			
		
		
		
	- Add kubectl command examples - Add tables of contents - Skip 3rd header tier to make sections more clear - Reference cmd-exec example for curling pod & service IPs - Make section layout, text patterns, changes & links more consistent - Canonical yaml formatting
		
			
				
	
	
		
			13 lines
		
	
	
		
			162 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			162 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: v1
 | |
| kind: Pod
 | |
| metadata:
 | |
|   name: nginx
 | |
|   labels:
 | |
|     app: nginx
 | |
| spec:
 | |
|   containers:
 | |
|   - name: nginx
 | |
|     image: nginx
 | |
|     ports:
 | |
|     - containerPort: 80
 |