Fixes following node e2e test:
[k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api And the logs show following error: Jun 21 15:57:13 localhost journal: tee: /test-empty-dir-mnt: Is a directory
This commit is contained in:
		| @@ -176,7 +176,7 @@ func createSummaryTestPods(f *framework.Framework, podNamePrefix string, count i | ||||
| 		createPod(f, podName, []api.Container{ | ||||
| 			{ | ||||
| 				Image:   ImageRegistry[busyBoxImage], | ||||
| 				Command: []string{"sh", "-c", "while true; do echo 'hello world' | tee ~/file | tee /test-empty-dir-mnt ; sleep 1; done"}, | ||||
| 				Command: []string{"sh", "-c", "while true; do echo 'hello world' | tee /test-empty-dir-mnt/file ; sleep 1; done"}, | ||||
| 				Name:    podName + containerSuffix, | ||||
| 				VolumeMounts: []api.VolumeMount{ | ||||
| 					{MountPath: "/test-empty-dir-mnt", Name: volumeNamePrefix}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Avesh Agarwal
					Avesh Agarwal