This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Core concepts | |
1. Pod: | |
logic application | |
one or more containers + volumes (disks) | |
one IP per pod | |
highliy dependent containers will be packed into one single pod | |
2. Service: | |
persistent endpoint for pod | |
use lable to select pod | |
internal/external IP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coding guidline is to make sure that all team members are using the same vocabulary. | |
Here're coding guidelines for HTML, CSS and javascript. | |
Javascript: https://google.github.io/styleguide/javascriptguide.xml?showone=Displaying_Hidden_Details_in_this_Guide#Closures | |
CSS & HTML: https://google.github.io/styleguide/htmlcssguide.html#CSS | |
eslint config: https://github.com/google/eslint-config-google | |
To install: | |
npm install --save-dev eslint eslint-config-google |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello! This guide is to help you start using kubernetes. | |
First, install the official docker on your OS. Take Ubuntu 17.04 as an example. | |
1. Add GPG key of the official docker repo to your system | |
#curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
2. Add docker repo to you APT source | |
#sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
3. Update your packages |