Use kubectl to connect kubernetes cluster Jan 01, 0001 kubectl is the main tool to interact with Kubernetes cluster. It connects to http://localhost:8080 with no auth by default. But how can we use kubectl with auth? Pretty simple, just config kubectl with dedicated cluster: kubectl config set-credentials default --username=username --password=password kubectl config set-cluster default --server=https://kubernetes-master:6443 --insecure-skip-tls-verify=true kubectl config set-context default --cluster=default --user=default kubectl config use-context default
Using cAdvisor to monitor docker Jan 01, 0001 cAdvisor (Container Advisor) provides container users an understanding of the resource usage and performance characteristics of their running containers. It is a running daemon that collects, aggregates, processes, and exports information about running containers. Specifically, for each container it keeps resource isolation parameters, historical resource usage, histograms of complete historical resource usage and network statistics. This data is exported by container and machine-wide. cAdvisor has native support for Docker containers and should support just about any other container type out of the box. ...
Weekly reading list (20150607) Jan 01, 0001 OpenStack Magnum http://www.csdn.net/article/2015-06-02/2824827 Magnum是去年巴黎峰会后开始的一个新项目,专门用来向用户提供容器服务,其最新的架构如图2所示。从去年11月份开始在StackFor ...
Weekly reading list (20150626) Jan 01, 0001 这周最热的就是Dockercon了,列表里面很多都是docker相关的。 Open Container Project (OCP) Today we’re pleased to announce that CoreOS, Docker, and a large group of industry leaders are working together on a standard container format through the formation ...
awesome quick start Jan 01, 0001 awesome是Linux平台出色的窗口管理器,具有速度快、界面简捷等优点。其安装也比较简单: sudo apt-get install -y awesome awesome-extra gnome-settings-daemon nautilus sudo apt-get install -y --no-install-recommends gnome-session mkdir -p ~/.config/awesome 常用快捷键整 ...
awk examples Jan 01, 0001 precede each line by line number awk '{print NR, $0}' filename replace first field by line number awk '{$1=NR; print}' filename print field 1 and field 2 awk '{print $1,$2}' fielname print last field awk '{print $NF}' filename print non empty lines awk 'NF>0{print $0}' filename print if more than 4 fields awk 'NF>4{print $0}' filename print matching lines (egrep) awk '/test. ...
bigdata Jan 01, 0001 Awesome Big Data A curated list of awesome big data frameworks, resources and other awesomeness. Inspired by awesome-php, awesome-python, awesome-ruby, hadoopecosystemtable & big-data. Your contributions are always welcome! Awesome Big Data Frameworks Distributed Programming Distributed Filesystem Key-Map Data Model Document Data Model Key-value Data Model Graph Data Model NewSQL Databases Columnar Databases Time-Series Databases SQL-like processing Integrated Development Environments Data Ingestion Service Programming Scheduling Machine Learning Benchmarking Security System Deployment Applications Search engine and framework MySQL forks and evolutions PostgreSQL forks and evolutions Memcached forks and evolutions Embedded Databases Business Intelligence Data Visualization Internet of things and sensor data Interesting Readings Interesting Papers Other Awesome Lists Frameworks Apache Hadoop - framework for distributed processing. ...
cannot change locale Jan 01, 0001 运行locale命令 LANG= LANGUAGE= LC_CTYPE=“POSIX” LC_NUMERIC=“POSIX” LC_TIME=“POSIX” LC_COLLATE=“POSIX” LC_MONETARY=“POSIX” LC_MESSAGES=“POSIX” LC_PAPER=“POSIX” LC_NAME=“POSIX” LC_ADDRESS=“POSIX” LC_TELEPHONE=“POSIX” LC_MEASUREMENT=“POSIX” LC_IDENTIFICATION=“POSIX” LC_ALL= 修改profile vi /etc/profile 添加如下内容 export LC_ALL=en_US.UTF-8 source /etc/profile 得到错误 setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory  运行 dpkg-reconfigure ...
docker in tencent Jan 01, 0001 腾讯内部对Docker有着广泛的使用,其基于Yarn的代号为Gaia的调度平台可以同时兼容Docker和非Docker类型的应用,并提供高并 ...
docker internal Jan 01, 0001 docker-baseAbstract 本文在现有文档的基础上总结了以下几点内容 docker的介绍,包括由来、适用场景等 docker背后的一系列技术 - namespace, cgroup, lxc, aufs等 docker ...