Coder Social home page Coder Social logo

stefanprodan / flux-local-dev Goto Github PK

View Code? Open in Web Editor NEW
145.0 4.0 30.0 1.26 MB

Flux local dev environment with Docker and Kubernetes KIND

License: Apache License 2.0

Ruby 0.02% Makefile 0.14% Shell 0.44% CUE 99.40%
flux gitops-toolkit testing

flux-local-dev's Introduction

Stefan Prodan's Blog

Made with Material for MkDocs

flux-local-dev's People

Contributors

cv65kr avatar sestegra avatar stefanprodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flux-local-dev's Issues

WSL2 (Windows Subsystem for Linux version 2) - Installation instructions

Prerequisites

Windows 10 2004 or higher (including version 21H2 and 21H1
WSL2 - Click here for instructions
Brew for Linux - Click here for instructions
Docker - Click here for WSL2 instructions without requiring Docker Desktop

Start by cloning the repository locally:

git clone https://github.com/stefanprodan/flux-local-dev.git
cd flux-local-dev

Install Kubernetes kind, kubectl, flux and other CLI tools with Homebrew:

make tools

The complete list of tools can be found in the Brewfile.

Bootstrap

Start the dev environment with:

make up

Access Flux UI

image

In order to access the UI from your Windows workstation where WSL2 is running, you need to modify %systemroot%\System32\drivers\etc\hosts and add 3 domain name entries and the IP address of the Ubuntu server in WSL2.

ip a

In the example below, the required IP would be the inet address under eth0

image

Add the following domains to %systemroot%\System32\drivers\etc\hosts

REMEMBER TO REPLACE 172.19.4.195 IN THE EXAMPLE BELOW WITH THE IP ADDRESS OF YOUR UBUNTU SERVER!!!

172.19.4.195 podinfo.flux.local
172.19.4.195 grafana.flux.local
172.19.4.195 ui.flux.local

Verify that the NGINX ingress self-signed TLS works:

make check

Access the Flux UI and Grafana using the username admin and password flux:

Access the demo application on http://podinfo.flux.local.

Teardown

Delete the registry and the Kubernetes cluster with:

make down

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.