Giter Club home page Giter Club logo

mongoosehelm's Introduction

Mongoose stack in Kubernetes

This repository contains a StatefulSet definition describing a simple yet scalable and fault-tolerant MongooseIM cluster.

MongooseIM pods use the already existing MongooseIM container available from MongooseIM's DockerHub or GitHub. Likewise, MongoosePush uses the containers available from Mongoose Push' dockerhub. You can read more about them in their respective READMEs, for MongooseIM and MongoosePush

Add this repo to your local helm

Running the following command:

helm repo add mongoose https://esl.github.io/MongooseHelm/

Will add this repo to your local helm charts, so you can install any of the available packages in your kubernetes cluster.

Initialise a k8s cluster

The most important part about managing a k8s cluster, is to actually have one! Many solutions are available, like minikube, microk8s, or Docker Desktop for local deployments, most often development and experimentation; or services like Google Kubernetes Engine, Azure Kubernetes Service, or Amazon Elastic Container Service. Refer to their documentation to know how to set them up.

Any of these should make our kubectl is now configured to operate on the configured cluster. Let's check that:

kubectl config current-context  # Short info on what cluster we're operating on
kubectl config get-contexts     # See all available contexts
kubectl config view             # Full config info

Switching the context can be done using NAME from the above listing. Specifically, it might be useful to switch from operating a cloud-hosted cluster to a local one:

kubectl config use-context CONTEXT-NAME
kubectl config use-context docker-desktop  # if using Docker Desktop with Kubernetes, or
kubectl config use-context minikube  # if using minikube as the k8s cluster

How to get the plain k8s files

If all you want is the plain k8s files, you can tell helm to expand the templates for you using the command

helm template desired-chart --output-dir desired-path

Where desired-chart is the desired chart to obtain (MongooseIM or MongoosePush) and desired-path is the path where you want to output the k8s yaml definitions.

mongoosehelm's People

Contributors

arcusfelis avatar chrzaszcz avatar denysgonchar avatar erszcz avatar jacekwegr avatar januszjakubiec avatar leszke avatar luk-pau-es avatar nelsonvides avatar pawlooss1 avatar premwoik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.