Code Monkey home page Code Monkey logo

caasp-devui's Introduction

caasp-devui

Developer UI for SUSE CaaSP

This project is a simple Perl cgi script designed for displaying debugging information about a local kvm developer environment of SUSE CaaSP.

By developer environment of CaaSP, what is meant is a instance of CaaSP created by using the caasp-devenv script from https://github.com/kubic-project/automation

Project Status

The devui should be viewed as an alpha project. It was hacked together quickly to help with general debugging and understanding of the internal setup of a CaaSP developer environment. It should not be considered production ready, nor relied on for any specific purpose at this time. It is subject to arbitrary change by the whim of myself, the current sole user and developer of this tool.

Installation on SUSE Tumbleweed

  • sudo zyppper in apache2 ( if it was not already installed )
  • mkdir ~/github
  • cd ~/github
  • git clone [email protected]:nanoscopic/caasp-devui.git
  • mkdir -p /srv/www/caasp-devui
  • sudo ln -s /home/[username]/github/caasp-devui/caasp-devui.pl /srv/www/caasp-devui.pl
  • sudo ln -s /home/[username]/github/caasp-devui/apache.conf /etc/apache2/conf.d/caasp-devui.conf
  • Add apache2 user into appropriate groups to access qemu/virsh. WARNING: This makes it possible for any scripts running within Apache to access your virts. Depending on your setting this may not be acceptable from a security standpoint.
  • Add a fake host entry to /etc/hosts to access caasp-devui through
  • sudo systemctl restart apache2 ( or possible just start it )

Use Cases

  • View information about the docker pods / layers that the cluster is composed of
  • View the cloud init config for the CaaSP cluster nodes ( admin, master, workers )
  • Show information about the cluster nodes including their IP addresses

Todo

  • Add a spec file to build a rpm package for quickly deploying this without the install steps
  • One spec file is created, add this project into build.opensuse.com so that it becomes available within Tumbleweed
  • Add in Salt state debugging for the initial deployment of a CaaSP / kubic developer environment

FAQ

  • Q: How do I get a developer environment of CaaSP up and running as a non-employee of SUSE?
    • A: Right now the caasp-devenv script is not setup to do so. It currently depends on a SLE velum image only available internally. It should be possible to create a similar image based on Tumbleweed, but one is not currently being built and provided.

caasp-devui's People

Contributors

nanoscopic avatar

Stargazers

 avatar

Watchers

 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.