Updated API Version, Added selector field.
This commit is contained in:
		
							parent
							
								
									95cdb664bd
								
							
						
					
					
						commit
						c6853e0440
					
				|  | @ -4,11 +4,14 @@ metadata: | ||||||
|   name: nfs-client-provisioner |   name: nfs-client-provisioner | ||||||
| --- | --- | ||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: extensions/v1beta1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   name: nfs-client-provisioner |   name: nfs-client-provisioner | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|  |   selector: | ||||||
|  |     matchLabels: | ||||||
|  |       app: nfs-client-provisioner | ||||||
|   strategy: |   strategy: | ||||||
|     type: Recreate |     type: Recreate | ||||||
|   template: |   template: | ||||||
|  |  | ||||||
|  | @ -4,11 +4,14 @@ metadata: | ||||||
|   name: nfs-client-provisioner |   name: nfs-client-provisioner | ||||||
| --- | --- | ||||||
| kind: Deployment | kind: Deployment | ||||||
| apiVersion: extensions/v1beta1 | apiVersion: apps/v1 | ||||||
| metadata: | metadata: | ||||||
|   name: nfs-client-provisioner |   name: nfs-client-provisioner | ||||||
| spec: | spec: | ||||||
|   replicas: 1 |   replicas: 1 | ||||||
|  |   selector: | ||||||
|  |     matchLabels: | ||||||
|  |       app: nfs-client-provisioner | ||||||
|   strategy: |   strategy: | ||||||
|     type: Recreate |     type: Recreate | ||||||
|   template: |   template: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue