The following pages and posts are tagged with

Linux Network Namespace

1. Network namespace là gì? Network namespace giúp chúng ta có các mạng riêng biệt trên một host. Mỗi một namespace sẽ có những giao diện (interface) và bảng định tuyến (routing table) của riêng nó và tách biệt với các namespace khác. Ngoài ra, tiến trình (process) trên...

How to public your posts to github-page? Post Fork the repo https://github.com/vietkubers/vietkubers.github.io to your Github account Clone the above forked repo to your local directory $ git clone https://github.com/$USER/vietkubers.github.io.git Create a markdown file in folder _post and name it as yyyy-mm-dd-name-of-article.md $...
Deploying single cluster with minikube behind proxy Post Preparing environment OS: Ubuntu 16.04 LTS Clear previous installation if you’ve already done it before: $ sudo kubeadm reset $ sudo rm -rf /var/lib/minikube/certs/ $ sudo rm -rf /etc/kubernetes/ $ sudo rm -rf /etc/lib/etcd/...
Deploying multiple nodes with Kubeadm Post Preparing Environment OS: Ubuntu 16.04 LTS Master Node: enp0s3: NAT (Access to Internet) enp0s8: Host Only 192.168.205.10 (Master Node IP) Worker Node: enp0s3: NAT (Access to Internet) enp0s8: Host Only 192.168.205.11 (Worker Node IP) Configure static ip for enp0s8...
Linux Containers Cgroups Post 1. What’s cgroups? cgroups stands for Control Groups, it’s a feature of Linux kernel that allocates and isolates resources: CPU, memory, disk I/O and networking of one or more processes. The below figure shows the configurations of cgroups in Linux kernel: <img src="/static/img/LXC/cgroups-kernel.PNG" alt="cgroups"...
Github workflow for contributing to Kubernetes Post 1. Big picture 2. Fork a repository Goto https://github.com/kubernetes/kubernetes Hit the Fork button to fork your own copy of repo kubernetes to your github account 3. Clone the forked repository to local Clone the forked...
Xác định địa chỉ IP và remote đến Raspberry Pi Post Sau khi cài đặt hệ điều hành Raspbian cho chiếc Raspberry Pi, ta có thể dùng một màn hình rời kết nối với nó qua cáp HDMI và cùng với bộ bàn phím, chuột, ta đã có một bộ “mini PC” sử dụng được cho mục đích giải trí,...
Các bước sau khi cài đặt Docker trên hệ thống Linux Post Bài viết này sẽ trình bày các cài đặt hệ thống Linux để làm việc tốt hơn với Docker. 1. Quản lý Docker với một người dùng non-root Docker daemon gắn với một UNIX socket thay vì một cổng TCP. Mặc định, một Unix socket được...
DIY, code nháy LED với Python trên Raspberry Pi 2 Post Nhân một buổi chiều rảnh rỗi, mình ngồi viết bài này hướng dẫn các bạn code một chương trình nho nhỏ bằng Python để điều khiển đèn LED nháy trên Rasberry Pi 2. Chiếc Rasberry Pi của mình là Rasberry Pi 2, mình tậu em nó từ hồi năm...
How to create and apply a patch with Git Post If you are an upstream developer or software engineer who works with Open Source Projects, definitely you have to use Git for collaborating and contributing your codes to upstream source codes. This article will show you the way to create and apply a patch with Git. 1. Create...
Cách tạo một website cá nhân với Github Pages Post Note: Bài viết này sẽ hướng dẫn các bạn cách xây dựng một website cá nhân bằng Github Pages. Với những bạn kỹ sư phần mềm hoặc lập trình viên đã quen làm việc với github thì mình tin rằng các bạn sẽ...
OpenStack Neutron L3 Agent Post 1. What’s L3 Agent? Neutron-l3-agent: performs layer 3 routing between tenant private networks, the external network, and others Using Linux IP stack and iptables to perform L3 forwarding and NAT Using network namespace in the Linux kernel which supports overlapping IP address between tenants...
Linux Network Namespace Post 1. Network namespace là gì? Network namespace giúp chúng ta có các mạng riêng biệt trên một host. Mỗi một namespace sẽ có những giao diện (interface) và bảng định tuyến (routing table) của riêng nó và tách biệt với các namespace khác. Ngoài ra, tiến trình (process) trên...