からちゃん日記

日々勉強しているIT技術、英会話で学んだ英語に関するまとめ、趣味のトライアスロンやその他の日常に関して書いていきます。

Kubernetesクラスタのノード内でコンテナと並列にPod内でVMが実行できるKubevirt

Kubernetesは複数のコンテナを管理するためのオーケストレーションツールだが、Kubevirtで拡張することで、コンテナと並列にVMを実行することができる。

 

例えば、コンテナ化されていないアプリケーションなどを、KubernetesのPod内のVM上で実行させることができる。KubernetesのPod内の動作するため、他のPod内のコンテナと同様に、KubectlなどのKubernetesのツールを使用して管理することができる。

 

f:id:kojikara:20180530000313p:plain

KubevirtのコンポーネントGetting to Know Kubevirt - Kubernetes

 

以下は、Kubevirtの紹介記事および記事内の説明の抜粋とGoogle翻訳での日本語訳。

 

kubernetes.io

 

"Maybe you need to run an application that isn’t architected for containers, or that requires a different version of the Linux kernel – or an all together different operating system – than what’s available on your container host."

"おそらく、コンテナ用に設計されていないアプリケーションや、Linuxカーネルの異なるバージョン、またはすべてが異なるオペレーティングシステムを必要とするアプリケーションをコンテナホスト上で実行する必要があるかもしれない。"

 

"These sorts of workloads are often well-suited to running in virtual machines (VMs), and KubeVirt, a virtual machine management add-on for Kubernetes, is aimed at allowing users to run VMs right alongside containers in the their Kubernetes or OpenShift clusters."

"これらの種類のワークロードは、仮想マシンVM)での実行に適していることが多く、Kubernetesの仮想マシン管理アドオンであるKubeVirtは、ユーザーがKubernetesまたはOpenShiftクラスタのコンテナに沿ってVMを実行できるようにすることを目的としている。"

 

"KubeVirt extends Kubernetes by adding resource types for VMs and sets of VMs through Kubernetes’ Custom Resource Definitions API (CRD). KubeVirt VMs run within regular Kubernetes pods, where they have access to standard pod networking and storage, and can be managed using standard Kubernetes tools such as kubectl."

"KubeVirtは、Kubernetesのカスタムリソース定義API(CRD)を使用して、VMおよびVMのリソースタイプを追加することで、Kubernetesを拡張する。 KubeVirt VMは標準的なKubernetesポッド内で実行され、標準ポッドネットワークとストレージにアクセスし、kubectlなどの標準Kubernetesツールを使用して管理できる。"