mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	The filename can overlap when multiple resources have the same name (but obviously are of a different type). Include the name of the type in the file name to prevent the overlap.
		
			
				
	
	
		
			18 lines
		
	
	
		
			254 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			254 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: apps/v1
 | 
						|
kind: Deployment
 | 
						|
metadata:
 | 
						|
  name: test
 | 
						|
spec:
 | 
						|
  replicas: 3
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      name: test
 | 
						|
  template:
 | 
						|
    metadata:
 | 
						|
      labels:
 | 
						|
        name: test
 | 
						|
    spec:
 | 
						|
      containers:
 | 
						|
      - name: nginx
 | 
						|
        image: nginx
 |