Chapter 2 Oracle Linux Cloud Native Environment Prerequisites

This chapter describes the prerequisites for the systems to be used in an installation of Oracle Linux Cloud Native Environment. This chapter also discusses how to enable the repositories to install the Oracle Linux Cloud Native Environment packages.

2.1 Enabling Access to the Oracle Linux Cloud Native Environment Packages

The Oracle Linux Cloud Native Environment packages are available on the Oracle Linux yum server in the ol7_olcne11 repository, or on the Unbreakable Linux Network (ULN) in the ol7_x86_64_olcne11 channel, however there are also dependencies across other repositories and channels, and these must also be enabled on each system where Oracle Linux Cloud Native Environment is installed.

Warning

Oracle does not support Kubernetes on systems where the ol7_preview, ol7_developer or ol7_developer_EPEL yum repositories or ULN channels are enabled, or where software from these repositories or channels is currently installed on the systems where Kubernetes runs. Even if you follow the instructions in this document, you may render your platform unsupported if these repositories or channels are enabled or software from these channels or repositories is installed on your system.

2.1.1 Enabling Channels with ULN

If you are registered to use ULN, use the ULN web interface to subscribe the system to the appropriate channels.

To subscribe to the ULN channels:

  1. Log in to https://linux.oracle.com with your ULN user name and password.

  2. On the Systems tab, click the link named for the system in the list of registered machines.

  3. On the System Details page, click Manage Subscriptions.

  4. On the System Summary page, select each required channel from the list of available channels and click the right arrow to move the channel to the list of subscribed channels. Subscribe the system to the following channels:

    • ol7_x86_64_olcne11

    • ol7_x86_64_kvm_utils

    • ol7_x86_64_addons

    • ol7_x86_64_latest

    • ol7_x86_64_UEKR5

  5. Click Save Subscriptions.

2.1.2 Enabling Repositories with the Oracle Linux Yum Server

If you are using the Oracle Linux yum server for system updates, enable the required yum repositories.

To enable the yum repositories:

  1. Install the oracle-olcne-release-el7 release package to install the Oracle Linux Cloud Native Environment yum repository configuration.

    $ sudo yum install oracle-olcne-release-el7
  2. Enable the following yum repositories:

    • ol7_olcne11

    • ol7_kvm_utils

    • ol7_addons

    • ol7_latest

    • ol7_UEKR5

    Use the yum-config-manager tool to enable the yum repositories:

    $ sudo yum-config-manager --enable ol7_olcne11 ol7_kvm_utils ol7_addons ol7_latest ol7_UEKR5
  3. Make sure the ol7_olcne yum repository is disabled:

    $ sudo yum-config-manager --disable ol7_olcne