From 4646058c0c67fb0fdb28f66a50fd055ebe5e61ad Mon Sep 17 00:00:00 2001 From: Hyounggyu Choi Date: Tue, 18 Feb 2025 14:23:09 +0100 Subject: [PATCH] example: Use multi-arch image for test-deploy-kata-qemu.yaml An image `registry.k8s.io/hpa-example` only supports amd64. Let's use a multi-arch image `quay.io/prometheus/prometheus` for the QEMU example instead. Signed-off-by: Hyounggyu Choi --- .../examples/test-deploy-kata-qemu.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/packaging/kata-deploy/examples/test-deploy-kata-qemu.yaml b/tools/packaging/kata-deploy/examples/test-deploy-kata-qemu.yaml index 75c9108c99..7a8444503d 100644 --- a/tools/packaging/kata-deploy/examples/test-deploy-kata-qemu.yaml +++ b/tools/packaging/kata-deploy/examples/test-deploy-kata-qemu.yaml @@ -2,25 +2,25 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: - run: php-apache-kata-qemu - name: php-apache-kata-qemu + run: prometheus-kata-qemu + name: prometheus-kata-qemu spec: replicas: 1 selector: matchLabels: - run: php-apache-kata-qemu + run: prometheus-kata-qemu template: metadata: labels: - run: php-apache-kata-qemu + run: prometheus-kata-qemu spec: runtimeClassName: kata-qemu containers: - - image: registry.k8s.io/hpa-example + - image: quay.io/prometheus/prometheus imagePullPolicy: Always - name: php-apache + name: prometheus ports: - - containerPort: 80 + - containerPort: 8080 protocol: TCP resources: requests: @@ -30,13 +30,13 @@ spec: apiVersion: v1 kind: Service metadata: - name: php-apache-kata-qemu + name: prometheus-kata-qemu spec: ports: - port: 80 protocol: TCP - targetPort: 80 + targetPort: 8080 selector: - run: php-apache-kata-qemu + run: prometheus-kata-qemu sessionAffinity: None type: ClusterIP