Skip to content

Sets of scripts for my personal lab setup, with Ansible, docker stack, etc

License

Notifications You must be signed in to change notification settings

hxy9243/lab-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab Setup Scripts

These are my setup scripts for my baremetal home-lab or cloud-based lab environment. It's designed for a small cluster of VMs/baremetal nodes running kubernetes.

Ansible Setup

To get Ansible, see more at:

To configure Ansible (e.g. setting up hosts, config SSH and passwords), see:

The project added example inventory hosts files and config file. Inventory files should be copied to ~/.ansible/hosts and config file to ~/.ansible, e.g.:

cp ansible/inventory/hosts.example ~/.ansible/hosts
# edit the hosts example

cp ansible/ansible.cfg.example ~/.ansible.cfg
# edit the config example

Ansible Notebook

To use ansible playbook, run:

ansible-playbook k8s/main.yaml

This will attempt to install docker, pre-configure hosts for k8s, and install a k8s cluster in the hosts described in hosts files. Configurations are in ansible/roles/k8s/vars/main.yaml.

Contents

About

Sets of scripts for my personal lab setup, with Ansible, docker stack, etc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published