mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
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 <Hyounggyu.Choi@ibm.com>
This commit is contained in:
parent
1e6cea24c8
commit
4646058c0c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user