Skip to main content

1) Operating System Configurations (To be done on all servers)

2) Docker Installation

2.1) Container Installation (To be done on all Openshift servers)

To prepare the system and install Docker before proceeding to Apinizer installation, follow the steps below.
sysctl settings:
The first three lines here are mandatory, others can be changed as needed.
Docker installation is done.
Docker service is started with final settings.

2.2) Openshift Origin Installation (On master servers)

2.2.1) Bash Auto-Completion (Optional, On any Openshift Master server)

Speed can be gained in writing kubernetes commands with this operation.

2.2.2) Setting User Configuration of kubectl Command on Openshift Master Server (On Openshift Master servers)

Definitions are made for the user who will run kubectl commands:

2.2.3) Install Kubernetes Network Plugin (On Openshift Master servers)

We will use the Flannel network plugin in this guide. You can select other supported network plugins. Flannel is a simple and easy way to configure a layer 3 network structure designed for Kubernetes.
ImportantIf you did not use the value 10.244.0.0/16 as podCIDR when initializing the Master, you should download the yaml file above and edit the network settings here as well.

2.2.4) Installation Check (On any Openshift Master server)

When the code below is run from Master, if the Node created in addition to Master is also visible, it means the installation has been completed successfully. If it does not pass from NotReady status to Ready status within two minutes, the problem should be examined with the “oc describe node NODENAME” command.
Example output:

2.2.5) Defining Openshift Permissions (On Openshift Master servers)

To protect your Openshift cluster data, it is deployed with at least one RBAC configuration by default. Currently, Dashboard only supports login with Bearer Token. Apply the following steps in order. vi service.yaml
vi adminuser.yaml

2.3) DNS Test (Optional, On any Openshift Master server)

After the DNS test is completed, Kubernetes installation on Openshift Origin 3.11 is completed. For Apinizer installation, see Apinizer Installation documentation.