Code Monkey home page Code Monkey logo

vmware-upi-install's Introduction

Install OpenShift 4.6.1 on VMware 6.7U3

OpenShift on VMware

Demo videos:

  1. Install OpenShift 4.6.1 via UPI on VMware https://youtu.be/6TvyHBdHhes
  2. OCP VMware Internal Registry Setup https://youtu.be/_60RLgkHVMw
  3. Chrony NTP on OpenShift https://youtu.be/_60RLgkHVMw

Access the downloads from https://cloud.redhat.com See the documentation at https://docs.openshift.com/container-platform/4.6/installing/installing_vsphere/installing-vsphere.html

  1. Create your own install-config.yaml based off the template contained herein
    vi install-config.yaml

  2. Create a configuration directory and transfer your install-config.yaml there
    mkdir -p INSTALL ; mv install-config.yaml INSTALL

  3. Create your manifests
    openshift-install create manifests --dir=INSTALL

  4. Backup the worker node machineset
    mv INSTALL/openshift/99_openshift-cluster-api_worker-machineset-0.yaml .

  5. Remove the node manifests since we'll be building them manually
    rm -f INSTALL/openshift/99_openshift-cluster-api_master-machines-*.yaml INSTALL/openshift/99_openshift-cluster-api_worker-machineset-*.yaml

  6. Set mastersSchedulable to false
    sed -i -e 's/true/false/g' INSTALL/manifests/cluster-scheduler-02-config.yml

  7. Adding Windows Nodes (optional)

    1. Copy the network config to a new manifest
      cp manifests/cluster-network-02-config.yml manifests/cluster-network-03-config.yml
    2. Update the apiVersion & spec to support HNS
      apiVersion: operator.openshift.io/v1
      ...
      ...
      spec​:​
        defaultNetwork:    
          type: OVNKubernetes
          ovnKubernetesConfig:
            hybridOverlayConfig:
              hybridClusterNetwork:
              - cidr: 10.132.0.0/14
                hostPrefix: 23
      
  8. Create ignition files
    openshift-install create ignition-configs --dir=INSTALL

  9. Encode the master and worker ignition files
    base64 -i INSTALL/master.ign -o INSTALL/master.64 ; base64 -i INSTALL/worker.ign -o INSTALL/worker.64

  10. Copy your bootstrap.ign file to your webserver... (you're on your own here)
    scp INSTALL/bootstrap.ign $server:/path/to/www tip: Ensure you have global read permissons on that file (chmod +r bootsrap.ign)

  11. Create a boot-append.ign file and encode it

    {
    "ignition": {
        "config": {
        "merge": [
            {
            "source": "http://$server/path/to/bootstrap.ign" 
            }
        ]
        },
        "version": "3.1.0"
      }
    }
    

    base64 -i boot-append.ign -o boot-append.64

Your setup is now done, from here on out I would recommend viewing the demo video since we'll be using VMware vCenter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.