mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	- use resource.Visit() to recursively process resources, as well as, aggregate errors where possible
		
			
				
	
	
		
			16 lines
		
	
	
		
			237 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			237 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: v1
 | 
						|
kind: Pod
 | 
						|
metadata:
 | 
						|
  name: busybox0
 | 
						|
  labels:
 | 
						|
    app: busybox0
 | 
						|
spec:
 | 
						|
  containers:
 | 
						|
  - image: busybox
 | 
						|
    command:
 | 
						|
      - sleep
 | 
						|
      - "3600"
 | 
						|
    imagePullPolicy: IfNotPresent
 | 
						|
    name: busybox
 | 
						|
  restartPolicy: Always
 |