Skip to content

Latest commit

 

History

History
 
 

demos

Hub-of-Hubs demos

Prerequisites

  1. Three clusters with ACM 2.4 Hubs on them, hoh (the Hub of Hubs), hub1 and hub2 (two Hubs to connect to the Hub of Hubs). The minimal requirements for ACM 2.4 are sufficient for this demo.
  2. Some managed clusters imported into (or created by) both hub1 and hub2.
  3. Access to the ACM Web console of the three ACM hubs.

Setup

  1. Define environment variables to hold Kubernetes configurations of the clusters, TOP_HUB_CONFIG, HUB1_CONFIG and HUB2_CONFIG.

  2. Download demo-magic shell script into this directory (demos).

    curl -s https://raw.githubusercontent.com/paxtonhare/demo-magic/master/demo-magic.sh -o demo-magic.sh
    chmod u+x demo-magic.sh
    
  3. Follow the instructions to setup Hub-of-Hubs components.

  4. If you do not have access to hoh as the kubeadmin user, add an alternative user as the admin to Hub-of-Hubs RBAC.

Demos

  1. Multiple Desktops

    Hub-of-Hubs Multiple Desktops

  2. Single Desktop

    Hub-of-Hubs Single Desktop, Cluster view

  3. Setup

    Hub-of-Hubs setup

Tips

  • To cancel the prompt message and set it to $, run export PS1=$ .
  • To prevent SSH changing the Terminal title on macOS, run export PROMPT_COMMAND="" in the ssh-ed machine.
  • To set the Terminal's title on macOS, go to Shell -> Edit title.
  • To set the Terminal's background on macOS, go to Shell -> Edit background.
  • Working with multiple desktops on macOS.
  • To change the background of a desktop on macOS, right click -> Change Desktop Background....
  • To create a .gif file, convert .mov to .mp4 (using iMovie for example), and then convert it to .gif.