GithubHelp home page GithubHelp logo

global-localhost / baremetal-runtimecfg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openshift/baremetal-runtimecfg

0.0 0.0 0.0 5.12 MB

Runtime configuration renderer for OpenShift in platforms without Cloud DNSaaS

License: Apache License 2.0

Dockerfile 1.15% Go 88.48% Makefile 0.83% Shell 0.09% Python 9.45%

baremetal-runtimecfg's Introduction

runtimecfg

runtimecfg is small utitily that reads KubeConfig and checks the current system for rendering OpenShift baremetal networking configuration.

Usage

runtimecfg [command]

The available commands are:

  • display: Displays the struct that contains the information for rendering
  • help: Help about any command
  • render: Renders go templates with the runtime configuration. Takes a -o/--out-dir parameter to specify where to write the rendered files.

The available flags are:

  • --api-vip: Virtual IP Address to reach the OpenShift API
  • --dns-vip: Virtual IP Address to reach an OpenShift node resolving DNS server
  • --ingress-vip Virtual IP Address to reach the OpenShift Ingress Routers

Note that you must pass at least one VIP for the VRRP interface to be found.

Test

Run on docker (recommended)

Running tests inside docker are consistet between machines and it keeps the host environment clean.

In order to run the tests you should have all these prerequisites:

  • make
  • docker
  • docker-compose
make docker_test

Run locally on host

There are some tests that require user capabilities (cap_net_admin, cap_net_raw). In case the user doesn't have these capabilities - The tests would be skipped.

Pay attention: This tests might change the machine networking.

make test

baremetal-runtimecfg's People

Contributors

bcrochet avatar celebdor avatar cybertron avatar danwinship avatar derekhiggins avatar jupierce avatar mandre avatar openshift-bot avatar openshift-merge-robot avatar thrasher-redhat avatar vrutkovs avatar yboaron avatar yboaronn avatar yuvigold 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.