From 4a15cec919d112d1e87d85e0a1ddc785cd36348a Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sat, 26 Oct 2024 15:38:03 +0000 Subject: [PATCH] use agnhost for the documentation manifests Change-Id: I863b058dc80752e2ee48ace96ff561c4fce02dca --- site/static/examples/loadbalancer/usage.yaml | 24 ++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/site/static/examples/loadbalancer/usage.yaml b/site/static/examples/loadbalancer/usage.yaml index c790d2e1..42bcaf77 100644 --- a/site/static/examples/loadbalancer/usage.yaml +++ b/site/static/examples/loadbalancer/usage.yaml @@ -6,10 +6,13 @@ metadata: app: http-echo spec: containers: - - name: foo-app - image: hashicorp/http-echo:0.2.3 - args: - - "-text=foo" + - command: + - /agnhost + - serve-hostname + - --http=true + - --port=8080 + image: registry.k8s.io/e2e-test-images/agnhost:2.39 + name: foo-app --- kind: Pod apiVersion: v1 @@ -19,10 +22,13 @@ metadata: app: http-echo spec: containers: - - name: bar-app - image: hashicorp/http-echo:0.2.3 - args: - - "-text=bar" + - command: + - /agnhost + - serve-hostname + - --http=true + - --port=8080 + image: registry.k8s.io/e2e-test-images/agnhost:2.39 + name: bar-app --- kind: Service apiVersion: v1 @@ -33,5 +39,5 @@ spec: selector: app: http-echo ports: - # Default port used by the image - port: 5678 + targetPort: 8080