All Projects → ryandawsonuk → minions

ryandawsonuk / minions

Licence: other
Minions for minikube - a demo of kubernetes features

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to minions

laravel-docker-k8s
Laravel using Docker and Kubernetes
Stars: ✭ 60 (+275%)
Mutual labels:  minikube, k8s
kubernetes-workshop
Kubernetes Workshop
Stars: ✭ 20 (+25%)
Mutual labels:  minikube, k8s
Quiz
Example real time quiz application with .NET Core, React, DDD, Event Sourcing, Docker and built-in infrastructure for CI/CD with k8s, jenkins and helm
Stars: ✭ 100 (+525%)
Mutual labels:  minikube, k8s
tezos-k8s
Deploy a Tezos Blockchain on Kubernetes
Stars: ✭ 43 (+168.75%)
Mutual labels:  minikube, k8s
k8s0
Another minimal kubernetes with ansible
Stars: ✭ 23 (+43.75%)
Mutual labels:  minikube, k8s
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (+37.5%)
Mutual labels:  k8s
ProductsStoreOnKubernetes
Demoing deployment of Docker containers into Kubernetes for both minikube and Azure AKS.
Stars: ✭ 90 (+462.5%)
Mutual labels:  k8s
kube-code-generator
Kubernetes code generator docker image
Stars: ✭ 60 (+275%)
Mutual labels:  k8s
terraform-aws-minikube
Terraform module for single node Kubernetes instance bootstrapped using kubeadm
Stars: ✭ 58 (+262.5%)
Mutual labels:  minikube
distributed-jmeter-docker
No description or website provided.
Stars: ✭ 56 (+250%)
Mutual labels:  k8s
eks-anywhere
Run Amazon EKS on your own infrastructure 🚀
Stars: ✭ 1,633 (+10106.25%)
Mutual labels:  k8s
kubectl-janitor
List Kubernetes objects in a problematic state
Stars: ✭ 48 (+200%)
Mutual labels:  k8s
td-redis-operator
一款强大的云原生redis-operator,经过大规模生产级运行考验,支持分布式集群、支持主备切换等缓存集群解决方案…The powerful cloud-native redis-operator, which has passed the test of large-scale production-level operation, supports distributed clusters and active/standby switching ...
Stars: ✭ 327 (+1943.75%)
Mutual labels:  k8s
CKA-Exercises
A set of curated exercises to help prepare you for the Certified Kubernetes Administrator Exam by the Cloud Native Computing Foundation
Stars: ✭ 51 (+218.75%)
Mutual labels:  k8s
Full-Stack-Development-Learning-Path
This repo contains all the things which I practice while learning the Full-stack web development
Stars: ✭ 80 (+400%)
Mutual labels:  k8s
golang-health-checker
A simple package to allow you to track your application healthy
Stars: ✭ 12 (-25%)
Mutual labels:  k8s
k8s-ldap
Kubernetes - LDAP authentication with Dex
Stars: ✭ 59 (+268.75%)
Mutual labels:  k8s
ci-minikube
run minikube on ci
Stars: ✭ 28 (+75%)
Mutual labels:  minikube
conference
A WebRTC signaling server with support of MQTT and WebSocket as transport protocols, token based authentication (JSON Web Token) and external policy based authorization.
Stars: ✭ 27 (+68.75%)
Mutual labels:  k8s
sbom-operator
Catalogue all images of a Kubernetes cluster to multiple targets with Syft
Stars: ✭ 114 (+612.5%)
Mutual labels:  k8s

Minions for minikube

Aims

To make an army of minions in minikube.

Pre-requisites

Docker (https://docs.docker.com/install/) and minikube (https://kubernetes.io/docs/tasks/tools/install-minikube/) installed.

How to Run

Start minikube:

minikube start --memory 4000 --cpus 3

Build minion image for minikube - from this directory run

eval $(minikube docker-env)
docker build . -t minion

Deploy the army

kubectl create -f minion-army.yml

To see the troop types:

open http://$(minikube ip):30080
open http://$(minikube ip):30081
open http://$(minikube ip):30082
open http://$(minikube ip):30083

To see the whole army

kubectl get pods

To Create More Troops

To create more troops of each type do minikube dashboard and go to the deployment and change the number of replicas

One Minion Falls, Another Takes His Place

Choose the host of one the minions open in your browser. To kill it:

kubectl delete pod <host>

Refresh the browser (it will take a little while) and see that another pod is already there

Minion Upgrades

Change the version in the Controller class to 0.2. Do:

docker build . -t minion:0.2

Then open minion-army.yml and find-replace all the "latest" with "0.2". Save the changes and do:

kubectl apply -f minion-army.yml --record

Refresh the browser of one of the minion types to see the version change in line with what you see from kubectl rollout status deployment <deployment_name> where <deployment_name> is a minion type (e.g. one-eyed-minion).

Minion Rollbacks

To see the history of what was deployed do kubectl rollout history deployment <deployment_name> and to rollback do kubectl rollout undo deployment <deployment_name> --to-revision=1 (can take a little while)

To Destroy the Army

kubectl delete -f minion-army.yml

Stop minikube with minikube stop

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].