Make naming consistent, kata points to kata-qemu

Runtime class kata-qemu created and older kata point to kata-qemu
handler. Now all the handlers match the crio.conf settings.

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
This commit is contained in:
Saikrishna
2019-01-04 14:32:00 -08:00
committed by Manohar Castelino
parent eff1fc9021
commit f96b48beca
3 changed files with 22 additions and 14 deletions
@@ -1,6 +1,14 @@
---
kind: RuntimeClass
apiVersion: node.k8s.io/v1alpha1
metadata:
name: kata
spec:
runtimeHandler: kata
runtimeHandler: kata-qemu
---
kind: RuntimeClass
apiVersion: node.k8s.io/v1alpha1
metadata:
name: kata-qemu
spec:
runtimeHandler: kata-qemu
@@ -2,17 +2,17 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: php-apache-fire
name: php-apache-fire
run: php-apache-kata-fc
name: php-apache-kata-fc
spec:
replicas: 1
selector:
matchLabels:
run: php-apache-fire
run: php-apache-kata-fc
template:
metadata:
labels:
run: php-apache-fire
run: php-apache-kata-fc
spec:
runtimeClassName: kata-fc
containers:
@@ -30,13 +30,13 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: php-apache-fire
name: php-apache-kata-fc
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: php-apache-fire
run: php-apache-kata-fc
sessionAffinity: None
type: ClusterIP
@@ -2,22 +2,22 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: php-apache-kata
name: php-apache-kata
run: php-apache-kata-qemu
name: php-apache-kata-qemu
spec:
replicas: 1
selector:
matchLabels:
run: php-apache-kata
run: php-apache-kata-qemu
template:
metadata:
annotations:
io.kubernetes.cri-o.TrustedSandbox: "false"
io.kubernetes.cri.untrusted-workload: "true"
labels:
run: php-apache-kata
run: php-apache-kata-qemu
spec:
runtimeClassName: kata
runtimeClassName: kata-qemu
containers:
- image: k8s.gcr.io/hpa-example
imagePullPolicy: Always
@@ -33,13 +33,13 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: php-apache-kata
name: php-apache-kata-qemu
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: php-apache-kata
run: php-apache-kata-qemu
sessionAffinity: None
type: ClusterIP