---
layout: post
author: Pedro Ibáñez Requena
description: In this video, we are showing the step by step of the KubeVirt Laboratory 2 Experimenting with CDI
navbar_active: Blogs
category: news
comments: true
title: KubeVirt Laboratory 2, experimenting with CDI
pub-date: December 10
pub-year: 2019
tags: [lab, CDI, containerized data importer, vm import]
---

In this video, we are showing the step by step of the [KubeVirt Laboratory 2: Experiment with CDI]({% link labs/kubernetes/lab2.md %})

## Pre-requisites

In the video, there is a Kubernetes cluster together with KubeVirt already running. If you need help for preparing that setup you can check the [KubeVirt installation notes](https://kubevirt.io/user-guide/operations/installation/) or try it yourself in the [First steps with KubeVirt](https://www.katacoda.com/kubevirt/scenarios/kubevirt-101) Katacoda scenario.
Also, the `virtctl` command is already installed and available in the PATH.

## Video

<iframe width="560" height="315" style="height: 315px" src="https://www.youtube.com/embed/ZHqcHbCxzYM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Operations

The following operations are shown in the video:

- Configure the storage for the Virtual Machine
- Install the CDI Operator and the CR for the importer
- Create and customize the Fedora Virtual Machine from the cloud image
- Connect to the console of the Virtual Machine
- Connect to the Virtual Machine using SSH
- Redirect a host port to the Virtual Machine to enable external SSH connectivity

## References

- [Kubevirt Laboratory 2: Experimenting with CDI]({% link labs/kubernetes/lab2.md %})
- [Kubevirt Laboratory 1 blogpost: Use Kubevirt]({% post_url 2019-12-04-KubeVirt_lab1_use_kubevirt %})
- [Kubevirt Laboratory 1: Use KubeVirt]({% link labs/kubernetes/lab1.md %})
- [KubeVirt basic operations video on youtube](https://www.youtube.com/watch?v=KC03G60shIc)
- [Kubevirt installation notes](https://kubevirt.io/user-guide/operations/installation)
- [First steps with KubeVirt - Katacoda scenario](https://www.katacoda.com/kubevirt/scenarios/kubevirt-101)
