Giter Site home page Giter Site logo

horfimbor's Introduction

Build Status

horfimbor

this project is done, it will be recreate into https://github.com/horfimbor without monorepo

This project is licensed under the terms of the MIT license.

initialize

install microk8s for dev from scratch ( on debian 9 )

aptitude install snapd
snap install core
snap install microk8s --classic
# relog
microk8s.enable dashboard storage registry ingress dns
# go to http://<your-ip>:16443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login

# to get user / password :
kubectl config view 

# to get the token :
token=$(microk8s.kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
microk8s.kubectl -n kube-system describe secret $token

# to copy the config into a file
microk8s.kubectl config view --raw > $HOME/.kube/config 
# to connect from an other server, use this file, replacing 127.0.0.1 by your ip

kafka ( with zookeeper )

with a kubernetes server and helm installed :

helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
helm repo update
kubectl apply -f ./.helm/namespace.yml
helm upgrade --wait --install zookeeper --namespace infra incubator/zookeeper --values ./.helm/zookeeper/values.yml
helm upgrade --wait --install kafka --namespace infra incubator/kafka --values ./.helm/kafka/values.yml

rust

For dev environnment

you need :

and then launch :

skaffold dev --port-forward

add a sub project

  • create a new rust project in a new folder
  • create a k8s config
  • add this config to skaffold.yaml
  • add the folder in .travis.yml
  • add the folder in dependabot

extract Cargo.lock

in each sub project :

docker build --target=build --tag=tmp .

docker run --rm --entrypoint cat tmp:latest /horfimbor/Cargo.lock > Cargo.lock

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.