Skip to content

Setup a (virtualized) cluster using agent-based installer using the simplest approach possible

License

Notifications You must be signed in to change notification settings

andfasano/miniagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miniagent

This repo contains a number of utility scripts to setup a virtualized cluster using agent-based installer (ABI). The main goal is to provide a quick and easy playground so that any user could be able to try out and experiment the various features of ABI, by using the simplest approach possible.

These scripts were synthesized thanks to the experience and contributions of the various authors of dev-scripts

Limitations

The current scripts are limited to the SNO topology only.

Pre-requisites

Getting started

  1. Launch the setup script specifying the required release version and the the pull secret file.
$ ./sno-setup.sh quay.io/openshift-release-dev/ocp-release:4.14.3-x86_64 ~/config/my-pull-secret

NOTE: The pull secret file parameter is not required if the REGISTRY_AUTH_FILE environment variable is already set

  1. Wait for the installation to complete. The console will show a detailed output about each phase of the installation.
...
INFO Cluster is installed                         
INFO Install complete!                            
INFO To access the cluster as the system:admin user when using 'oc', run 
INFO     export KUBECONFIG=/tmp/agent-DvM/auth/kubeconfig 
...

NOTE: The IP of the node is 192.168.133.80

  1. Connect to your new cluster using the credentials stored in the asset folder.
$ export KUBECONFIG=/tmp/agent/auth/kubeconfig
$ oc get nodes
NAME       STATUS   ROLES                         AGE   VERSION
master-0   Ready    control-plane,master,worker   36m   v1.26.3+b404935
  1. Once done, to remove the cluster and cleanup the enviroment, run the cleanup script
$ ./sno-cleanup.sh

About

Setup a (virtualized) cluster using agent-based installer using the simplest approach possible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages