synchronization
This commit is contained in:
		
							
								
								
									
										26
									
								
								File/Templates-Yaml/daemonset.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								File/Templates-Yaml/daemonset.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
apiVersion: apps/v1
 | 
			
		||||
kind: DaemonSet
 | 
			
		||||
metadata:
 | 
			
		||||
  name: daemonset-pods
 | 
			
		||||
  namespace: default
 | 
			
		||||
  labels:
 | 
			
		||||
    name: daemonset-pods
 | 
			
		||||
spec:
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      name: daemonset-pods
 | 
			
		||||
  updateStrategy:
 | 
			
		||||
    type: RollingUpdate
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        name: daemonset-pods
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
        - name: nginx
 | 
			
		||||
          image: nginx:latest
 | 
			
		||||
          imagePullPolicy: IfNotPresent
 | 
			
		||||
          ports:
 | 
			
		||||
            - name: nginx-port
 | 
			
		||||
              containerPort: 80
 | 
			
		||||
              protocol: TCP
 | 
			
		||||
		Reference in New Issue
	
	Block a user