Code Monkey home page Code Monkey logo

k8s-mastery's Introduction

This repository contains the source files needed to follow the series Kubernetes and everything else or summarized as an article in Learn Kubernetes in Under 3 Hours: A Detailed Guide to Orchestrating Containers

To learn more about Kubernetes and other related topics check the following examples with the Sentiment Analysis application:

Usage: docker build -f Dockerfile -t sentiment-analysis-frontend . docker build -f Dockerfile -t sentiment-analysis-web-app . docker build -f Dockerfile -t sentiment-analysis-logic .

docker run -d -p 8888:80 --name=front sentiment-analysis-frontend docker run -d -p 8080:8080 --name=web sentiment-analysis-web-app docker run -d -p 5000:5000 --name=logic sentiment-analysis-logic

installing cubectl:

  1. manualy curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl chmod +x ./kubectl sudo mv ./kubectl /usr/local/bin/kubectl kubectl version --client

sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker kvm-ok sudo cp /etc/network/interfaces /etc/network/interfaces.bakup-1-july-2016 sudo vi /etc/network/interfaces edit append: auto br0 iface br0 inet static address 10.18.44.26 netmask 255.255.255.192 broadcast 10.18.44.63 dns-nameservers 10.0.80.11 10.0.80.12 # set static route for LAN post-up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.18.44.1 post-up route add -net 161.26.0.0 netmask 255.255.0.0 gw 10.18.44.1 bridge_ports eth0 bridge_stp off bridge_fd 0 bridge_maxwait 0

br1 setup with static wan IPv4 with ISP router as a default gateway

auto br1 iface br1 inet static address 208.43.222.51 netmask 255.255.255.248 broadcast 208.43.222.55 gateway 208.43.222.49 bridge_ports eth1 bridge_stp off bridge_fd 0 bridge_maxwait 0

sudo systemctl restart networking sudo brctl show

minikube start

k8s-mastery's People

Contributors

rinormaloku avatar anmir avatar acbramley avatar amishurov avatar

Watchers

James Cloos 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.