openshift container platform 4.5 openshift virtualization 3.2.1. subscribing to the openshift...

Download OpenShift Container Platform 4.5 OpenShift Virtualization 3.2.1. Subscribing to the OpenShift Virtualization

Post on 19-Jan-2021

0 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • OpenShift Container Platform 4.5

    OpenShift Virtualization

    OpenShift Virtualization installation, usage, and release notes

    Last Updated: 2021-05-18

  • OpenShift Container Platform 4.5 OpenShift Virtualization

    OpenShift Virtualization installation, usage, and release notes

  • Legal Notice

    Copyright © 2021 Red Hat, Inc.

    The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.

    Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.

    Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.

    Linux ® is the registered trademark of Linus Torvalds in the United States and other countries.

    Java ® is a registered trademark of Oracle and/or its affiliates.

    XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.

    MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries.

    Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.

    The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.

    All other trademarks are the property of their respective owners.

    Abstract

    This document provides information about how to use OpenShift Virtualization in OpenShift Container Platform.

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Table of Contents

    CHAPTER 1. ABOUT OPENSHIFT VIRTUALIZATION 1.1. WHAT YOU CAN DO WITH OPENSHIFT VIRTUALIZATION

    1.1.1. OpenShift Virtualization supported cluster version

    CHAPTER 2. OPENSHIFT VIRTUALIZATION RELEASE NOTES 2.1. ABOUT RED HAT OPENSHIFT VIRTUALIZATION

    2.1.1. What you can do with OpenShift Virtualization 2.2. NEW AND CHANGED FEATURES

    2.2.1. Supported guest operating systems 2.2.2. Networking 2.2.3. Storage 2.2.4. Web console

    2.3. NOTABLE TECHNICAL CHANGES 2.4. KNOWN ISSUES

    CHAPTER 3. OPENSHIFT VIRTUALIZATION INSTALLATION 3.1. CONFIGURING YOUR CLUSTER FOR OPENSHIFT VIRTUALIZATION 3.2. INSTALLING OPENSHIFT VIRTUALIZATION USING THE WEB CONSOLE

    3.2.1. Prerequisites 3.2.2. Subscribing to the OpenShift Virtualization catalog 3.2.3. Deploying OpenShift Virtualization 3.2.4. Next steps

    3.3. INSTALLING OPENSHIFT VIRTUALIZATION USING THE CLI 3.3.1. Prerequisites 3.3.2. Subscribing to the OpenShift Virtualization catalog by using the CLI 3.3.3. Deploying the OpenShift Virtualization Operator by using the CLI 3.3.4. Next steps

    3.4. INSTALLING THE VIRTCTL CLIENT 3.4.1. Enabling OpenShift Virtualization repositories 3.4.2. Installing the virtctl client

    3.5. UNINSTALLING OPENSHIFT VIRTUALIZATION USING THE WEB CONSOLE 3.5.1. Prerequisites 3.5.2. Deleting the OpenShift Virtualization Operator Deployment custom resource 3.5.3. Deleting the OpenShift Virtualization catalog subscription 3.5.4. Deleting a namespace using the web console

    3.6. UNINSTALLING OPENSHIFT VIRTUALIZATION USING THE CLI 3.6.1. Prerequisites 3.6.2. Deleting OpenShift Virtualization

    CHAPTER 4. UPGRADING OPENSHIFT VIRTUALIZATION 4.1. ABOUT UPGRADING OPENSHIFT VIRTUALIZATION

    4.1.1. How OpenShift Virtualization upgrades work 4.1.2. How OpenShift Virtualization upgrades affect your cluster

    4.2. UPGRADING OPENSHIFT VIRTUALIZATION TO THE NEXT MINOR VERSION 4.3. MONITORING UPGRADE STATUS 4.4. ADDITIONAL RESOURCES

    CHAPTER 5. ADDITIONAL SECURITY PRIVILEGES GRANTED FOR KUBEVIRT-CONTROLLER AND VIRT- LAUNCHER

    5.1. EXTENDED SELINUX POLICIES FOR VIRT-LAUNCHER PODS 5.2. ADDITIONAL OPENSHIFT CONTAINER PLATFORM SECURITY CONTEXT CONSTRAINTS AND LINUX CAPABILITIES FOR THE KUBEVIRT-CONTROLLER SERVICE ACCOUNT

    11 11 11

    12 12 12 12 13 13 13 14 14 14

    18 18 18 18 18 19

    20 20 20 20 21 22 22 22 23 23 23 23 24 24 24 25 25

    27 27 27 27 27 28 29

    30 30

    30

    Table of Contents

    1

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.2.1. Additional SCCs granted to the kubevirt-controller service account 5.2.2. Viewing the SCC and RBAC definitions for the kubevirt-controller

    5.3. ADDITIONAL RESOURCES

    CHAPTER 6. USING THE CLI TOOLS 6.1. PREREQUISITES 6.2. VIRTCTL CLIENT COMMANDS 6.3. OPENSHIFT CONTAINER PLATFORM CLIENT COMMANDS

    CHAPTER 7. VIRTUAL MACHINES 7.1. CREATING VIRTUAL MACHINES

    7.1.1. Running the virtual machine wizard to create a virtual machine 7.1.1.1. Virtual machine wizard fields 7.1.1.2. Cloud-init fields 7.1.1.3. CD-ROM fields 7.1.1.4. Networking fields 7.1.1.5. Storage fields

    Advanced storage settings 7.1.2. Pasting in a pre-configured YAML file to create a virtual machine 7.1.3. Using the CLI to create a virtual machine 7.1.4. Virtual machine storage volume types 7.1.5. Additional resources

    7.2. EDITING VIRTUAL MACHINES 7.2.1. Editing a virtual machine in the web console 7.2.2. Editing a virtual machine YAML configuration using the web console 7.2.3. Editing a virtual machine YAML con

Recommended

View more >