Deploying an OKD Cluster

Background

How to begin

  • A load balancer (lb)
  • A master (master)
  • An etcd node (etcd)
  • A compute and/or infrastructure node (node)
  • 1 load balancer
  • 5 masters
  • 5 etcd nodes
  • 2 infrastructure nodes
  • 13 compute nodes

Defining the Cluster

Nodes, etcd, and Masters

[OSEv3:children]
masters
nodes
etcd
lb
nfs
openshift_node_groups=[{'name': 'node-master', 'labels': ['node-role.kubernetes.io/master=true']}, {'name': 'node-infra', 'labels': ['node-role.kubernetes.io/infra=true']}, {'name': 'node-compute', 'labels': ['node-role.kubernetes.io/compute=true']}]
# Host group for masters
[masters]
okd-master[01:05].csh.rit.edu

# Host group for etcd
[etcd]
okd-etcd[01:05].csh.rit.edu

# Specify load balancer host
[lb]
okd-lb01.csh.rit.edu

# Host group for NFS
[nfs]
okd-master01.csh.rit.edu

# Host group for nodes
[nodes]
okd-master[01:05].csh.rit.edu openshift_node_group_name='node-master'
okd-node[01:02].csh.rit.edu openshift_node_group_name='node-infra'
okd-node[03:15].csh.rit.edu openshift_node_group_name='node-compute'

Additional Cluster Behavior

Running Ansible

git clone git@github.com:openshift/openshift-ansible.git
checkout release-3.11
ansible-playbook -i /etc/ansible/hosts ~/openshift-ansible/playbooks/prerequisites.yml
ansible-playbook -i /etc/ansible/hosts ~/openshift-ansible/playbooks/deploy_cluster.yml

Final Setup

Deploying a Router

Using the Cluster

--

--

--

Software Engineering Student at Rochester Institute of Technology with a focus on Full Stack Web Development and DevOps

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Supercharge your API with standards

Maps In Drupal — A Complete Guide

iOS 13 Table Views, Collection Views Demo, MVC, Singleton, and Closures All in One App

1.6 C# keywords

Design and analysis of High speed wallace tree multiplier using parallel prefix adders for VLSI…

OnCollisionEnter and OnTriggerEnter

Music and Video player in Unity

How to Web Scrape Flipkart using Python and Visualize the data in Power BI

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Devin Matté

Devin Matté

Software Engineering Student at Rochester Institute of Technology with a focus on Full Stack Web Development and DevOps

More from Medium

Deconstructing DevOps — a simple walkthrough of Docker & Kubernetes

Kubernetes and its Use-Cases

Openshift 101

Kubernetes — Create user with limited access