mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +00:00 
			
		
		
		
	package: drop qemu-virtiofs shim
We have enabled qemu-virtiofs by default. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
		@@ -66,7 +66,7 @@ function run_test() {
 | 
			
		||||
    cmd="kubectl get pods | grep $busybox_pod | grep Completed"
 | 
			
		||||
    wait_time=120
 | 
			
		||||
 | 
			
		||||
    configurations=("nginx-deployment-qemu" "nginx-deployment-qemu-virtiofs" "nginx-deployment-clh")
 | 
			
		||||
    configurations=("nginx-deployment-qemu" "nginx-deployment-clh")
 | 
			
		||||
    for deployment in "${configurations[@]}"; do
 | 
			
		||||
        # start the kata pod:
 | 
			
		||||
        kubectl apply -f "$YAMLPATH/examples/${deployment}.yaml"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,20 +0,0 @@
 | 
			
		||||
apiVersion: apps/v1
 | 
			
		||||
kind: Deployment
 | 
			
		||||
metadata:
 | 
			
		||||
  name: nginx-deployment-qemu-virtiofs
 | 
			
		||||
spec:
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      app: nginx
 | 
			
		||||
  replicas: 2
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        app: nginx
 | 
			
		||||
    spec:
 | 
			
		||||
      runtimeClassName: kata-qemu-virtiofs
 | 
			
		||||
      containers:
 | 
			
		||||
      - name: nginx
 | 
			
		||||
        image: nginx:1.14
 | 
			
		||||
        ports:
 | 
			
		||||
        - containerPort: 80
 | 
			
		||||
@@ -16,7 +16,6 @@ containerd_conf_file_backup="${containerd_conf_file}.bak"
 | 
			
		||||
shims=(
 | 
			
		||||
	"fc"
 | 
			
		||||
	"qemu"
 | 
			
		||||
	"qemu-virtiofs"
 | 
			
		||||
	"clh"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user