Giter VIP home page Giter VIP logo

kargo's Introduction

Kargo Kubevirt UnderCloud

Requirements:

  1. A clean install of Fedora Workstation/Server
  2. Podman installed
  3. ~/.gitconfig configured with token auth
  4. There is no critical data on the hypervisor system
  5. Run all cmds as root
  6. Configure root to be able to ssh to itself SSH to localhost

Intro:

These playbooks represent rough Sparta developer enablement tools and should be considered "work-in-progress". This component of devkit enables sparta ocp builds on modest hardware via the linux hypervisor layers {{ libvirt,kvm,qemu }}

Instructions:

00. Clone the Devkit Repository

 git clone https://github.com/CodeSparta/devkit.git -b master /root/devkit && cd /root/devkit

Build Hypervisor on Linux

01. Start TMUX session for safety

 tmux

02. Execute Into IaC Engine Container Runtime

 source tools/dev.sh

03. Run Hypervisor Setup Playbook

 cd ./lab && ./network-setup.yml -vv

04. SSH back & Run Hypervisor Setup Playbook

 ./hypervisor-setup.yml -vv

05. Exit IaC Engine

 exit

[OPTIONAL] Build Virtual Firewall & Gateway

01. Build OpenWRT VFW Container Image

 mkdir -p /tmp/openwrt && rm -rf /tmp/openwrt/* && sudo podman run --privileged --rm -it --name openwrt_builder --volume /tmp/openwrt:/root/bin:z containercraft/ccio-openwrt-builder:19.07.4

02. Execute Into IaC Engine Container Runtime

 source tools/dev.sh

03. Enable host for OpenWRT LXD VFW

 cd ./lab && ./gateway-setup.yml -vv

04. Exit IaC Engine

 exit

05. Reload environment

 bash

06. Build Gateway Container

 lxc image import /tmp/openwrt/openwrt-19.07.4-x86-64-lxd.tar.gz --alias openwrt/19.07.4/x86_64
 lxc init openwrt/19.07.4/x86_64 gateway -p openwrt
 lxc file push -r /tmp/openwrt/config gateway/etc/

07. Start Gateway and monitor for IPv4 Address

 lxc start gateway
 watch -c lxc list

08. Set password before logging in on WebUI

 lxc exec gateway passwd
  • Login to the OpenWRT WebUI @ the 'eth0' IP address with http://${address}:8081

kargo's People

Contributors

joecharles33 avatar usrbinkat avatar

Watchers

 avatar  avatar

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.