All Projects → sbeliakou → kubernetes-cluster

sbeliakou / kubernetes-cluster

Licence: other
No description or website provided.

Programming Languages

shell
77523 projects
ruby
36898 projects - #4 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to kubernetes-cluster

sig-windows-dev-tools
This is a batteries included local development environment for Kubernetes on Windows.
Stars: ✭ 52 (+205.88%)
Mutual labels:  vagrant
vvv-utilities
Official VVV extensions
Stars: ✭ 22 (+29.41%)
Mutual labels:  vagrant
docker-atlassian
A docker-compose orchestration for JIRA Software and Confluence based on docker containers.
Stars: ✭ 13 (-23.53%)
Mutual labels:  vagrant
kubernetes-dev-stack
Automation of Kubernetes 1.6.0.alpha3 on Centos 7.3 (kernel 4.9.5, docker 1.13.1, flannel 0.7.0)
Stars: ✭ 15 (-11.76%)
Mutual labels:  vagrant
vim-vagrant
basic vim/vagrant integration
Stars: ✭ 55 (+223.53%)
Mutual labels:  vagrant
super-duper-vault-train
🚄▼▼▼▼▼▼
Stars: ✭ 19 (+11.76%)
Mutual labels:  vagrant
alexa-openwebif
alexa skill to control your openwebif device
Stars: ✭ 25 (+47.06%)
Mutual labels:  vagrant
ansible-docker-vagrant-example
An example to demonstrate the power of Ansible, Docker and Vagrant
Stars: ✭ 22 (+29.41%)
Mutual labels:  vagrant
usergrid-docker
Build and run Usergrid 2.1 using Docker
Stars: ✭ 41 (+141.18%)
Mutual labels:  vagrant
ansible virtualization
Ansible Collection: Virtualization roles
Stars: ✭ 31 (+82.35%)
Mutual labels:  vagrant
docker-swarm-mode-getting-started
Repository for my Pluralsight course Getting Started with Docker Swarm Mode
Stars: ✭ 40 (+135.29%)
Mutual labels:  vagrant
litemall-dw
基于开源Litemall电商项目的大数据项目,包含前端埋点(openresty+lua)、后端埋点;数据仓库(五层)、实时计算和用户画像。大数据平台采用CDH6.3.2(已使用vagrant+ansible脚本化),同时也包含了Azkaban的workflow。
Stars: ✭ 36 (+111.76%)
Mutual labels:  vagrant
fastdata-cluster
Fast Data Cluster (Apache Cassandra, Kafka, Spark, Flink, YARN and HDFS with Vagrant and VirtualBox)
Stars: ✭ 20 (+17.65%)
Mutual labels:  vagrant
magento2-fast-vm
Optimal vagrant developer box for Magento2. Folders synced by nfs/rsync. This box includes Magento developer utilities.
Stars: ✭ 89 (+423.53%)
Mutual labels:  vagrant
tsharkVM
tshark + ELK analytics virtual machine
Stars: ✭ 51 (+200%)
Mutual labels:  vagrant
vagrant-ansible-kubernetes
Combination of Vagrant and Ansible to spin up a Kubernetes cluster
Stars: ✭ 50 (+194.12%)
Mutual labels:  vagrant
pereval-server
The Pereval server: a set of OSINT & misc related web-services
Stars: ✭ 27 (+58.82%)
Mutual labels:  vagrant
halcyon-vagrant-kubernetes
Vagrant deployment mechanism for halcyon-kubernetes.
Stars: ✭ 12 (-29.41%)
Mutual labels:  vagrant
sitecore-packer
Packer templates for Sitecore development with IIS, SOLR and SQL Server on Windows
Stars: ✭ 19 (+11.76%)
Mutual labels:  vagrant
vagrant-ids
An Ubuntu 16.04 build containing Suricata, PulledPork, Bro, and Splunk
Stars: ✭ 21 (+23.53%)
Mutual labels:  vagrant

Local Kubernetes Environment on Vagrant/Virtualbox and CentOS 7

Kubernetes Architecture

Kubernetes High-Level Diagram Kubernetes Architecture

HOW TO

$ make up
$ make load
$ make whoup
$ make ssh
$ make down
$ make destroy

# K8s Dashboard
$ kubectl proxy

# K8s bash completion
$ source <(kubectl completion bash)
 
$ kubectl get nodes
...

Cluster Configuration

  • Docker 18.09
  • Kubernetes (multiple versions: configuration)
  • Master + Workers (worker_count > 0) / Master Isolation (worker_count = 0), configuration
  • MetalLB (Pluggable)
  • Metrics-Server
  • Kuebernetes Dashboard
  • Flannel
  • Nginx Ingress-Controller

Configuration Samples and Keynotes

  • Application (Deployment, Service, Ingress Rules)
  • Networking (ClusterIP, ExternalIP, NodePort)
  • Users
  • Secrets
  • ConfigMap
  • Storages / GlusterFS
  • RBAC
  • Helm Tiller
  • Prometheus

Kubectl Cheatsheet

$ kubectl cluster-info
$ kubectl cluster-info dump

$ kubectl get nodes
$ kubectl get pods
$ kubectl get rc
$ kubectl get deploy
$ kubectl get rs
$ kubectl rollout status deploy DEPLOY_NAME

$ kubectl run nginx-deployment --image=nginx --port=80
$ kubectl expose deployment nginx-deployment --port=80 --type=NodePort 

$ kubectl expose deployment nginx-deployment --external-ip="192.168.56.150" --port=8000 --target-port=80
$ kubectl get svc nginx-deployment 
$ kubectl get svc nginx-deployment -o go-template='{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{"\n"}}{{end}}{{end}}'
$ kubectl get deployment nginx
$ kubectl describe deployment nginx-deployment

$ kubectl run nginx-deployment --image=nginx --port=80 --replicas=1
$ kubectl run nginx-deployment --image=nginx --port=80 --replicas=1 --hostport=8001
$ kubectl scale --replicas=10 deployment nginx-deployment

$ kubeadm init --token=102952.1a7dd4cc8d1f4cc5 --kubernetes-version v1.8.0
$ kubeadm token list
$ kubeadm join --token 102952.1a7dd4cc8d1f4cc5 172.17.0.43:6443

$ kubectl apply -f https://git.io/weave-kube
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
$ kubectl get pod -n kube-system

$ kubectl exec -n ingress-nginx $(kubectl get pods -n ingress-nginx | grep controller | awk '{print $1}') cat /etc/nginx/nginx.conf
$ kubectl logs -n ingress-nginx $(kubectl get pods -n ingress-nginx | grep controller | awk '{print $1}')


$ kubectl run cent --image=sbeliakou/centos --command sleep 3600
$ dig @10.96.0.10 grafana.monitoring.svc.cluster.local

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