Coder Social home page Coder Social logo

litecoin's Introduction

litecoin 0.18.1

This repository contains info on how to build a litecoin container in docker, run as a stateful set.

Requirements

  • Docker
  • kubectl

Dockerfile

Docker multistage was used as I didn't want to install everything during the build process on the image that's going to run in kubernetes.

make build

litecoin-statefulset.yaml

  • namespace litecoin doesnt exist
  • storageClassName: standard exist

Additional info

  • Tried using runAsUser and fsGroup to make sure a user i created was used however I wasn't able to get the litecoin container to start in minikube k8s, something to do with ot having permission to the folder, I tried to assign ownership to the user I created using chown however this failed
  • I tested it in Minikube to verify the K8s StatefulSet
  • Resources - 256MB memory should be enough for litecoin

CI

Note: I wasn't able to get the ci server running in minikube and I tried this for jenkins and concourse, I didn't have enough time to find out why. TODO:

  • figure out why jenkins server and concourse servers are not working in minikube in order to test ci.

Text manipulation program

located in split_string/main.go Simple program that takes one string argument, with numbers in between the words, and Splits strings using a predefined regex function

To run:

cd split_function
go run main.go "Hello! I am 1 funnyoldbat 2 chocoholic 3 team."

Output:

  โžœ go run main.go "Hello! I am 1 funnyoldbat 2 clownface 3 team."
 funnyoldbat 
 clownface

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.