redhat-na-ssa / demo-lab-config

Artifacts for deploying a demo lab
MIT License
1 stars 0 forks source link

Lab Demo

Check Spelling

Linting

Summary

This repo contains artifacts for deploying a lab demo.

This repo aids in the deployment of operators for day 2 operations and uses:

This is often used in the following tools:

General Notes

Various Commands

Setup cluster users

. scripts/wip/demo_setup.sh

htpasswd_get_file
ocp_setup_user < username@domain >

Development

NOTE: Most scripts have been developed / tested on x86_64 Linux.

The following cli tools will be useful:

age secrets

# encrypt
age --encrypt --armor \
  -R authorized_keys \
  -o htpasswd.age \
  scratch/htpasswd

# decrypt
age --decrypt \
  -i ~/.ssh/id_ed25519 \
  -i ~/.ssh/id_rsa \
  -o scratch/htpasswd \
  htpasswd.age
scripts/lint.sh

Repo Structure

.
├── bootstrap                             # used to for initial provisioning
├── clusters                              # used to define a running configuration
├── components                            # configurations in Kustomize and YAML
├── demo                                  # install and prepare for demo of software
│   ├── 00-cluster-one-time
│   ├── 01-cluster-rbac
│   ├── 02-cluster-storage
│   ├── 03-cluster-config
│   ├── run-acm
│   ├── run-acs
│   ├── run-devspaces
│   ├── run-kubeflow
│   ├── run-mlflow
│   └── run-tests
├── docs                                  # various documentation, software groups
│   ├── images
│   └── operators
├── notebooks                             # notebooks to demo software
├── scratch                               # excluded from git
└── scripts                               # scripts to automate, list list-images.sh