From a4a66a11cdff5429d281d0ce1085a9e978e11269 Mon Sep 17 00:00:00 2001 From: shuting Date: Mon, 10 Feb 2020 07:32:44 -0800 Subject: [PATCH] update test resource to a valid k8s obejct (#683) --- test/resources/require_probes.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test/resources/require_probes.yaml b/test/resources/require_probes.yaml index 4c967c6a43..a7ad415546 100644 --- a/test/resources/require_probes.yaml +++ b/test/resources/require_probes.yaml @@ -4,9 +4,13 @@ metadata: name: myapp-pod labels: app: myapp -spec: +spec: containers: - - name: nginx - image: nginx + - name: goproxy + image: k8s.gcr.io/goproxy:0.1 + ports: + - containerPort: 8080 readinessProbe: - periodSeconds: 5 \ No newline at end of file + tcpSocket: + port: 8080 + periodSeconds: 10 \ No newline at end of file