Certified Kubernetes Administrator (CKA) learning note

Install Install docker.io 1 apt install docker.io If you install docker with other cgroup driver, you have to make sure that docker and Kubernetes will use same cgroup driver. 1 2 3 4 5 cat << EOF >> /etc/docker/daemon.json { "exec-opts": ["native.cgroupdriver=systemd"] } EOF install apt key and source to system 1 2 3 4 5 [email protected]:~# curl -s https://packages.

[Juju] Use juju to deploy minecraft server in LXD

Juju is a deploy tool which supports a very wide range of cloud providers, like AWS, Azure, Google Cloud Platform, MAAS and LXD. This artcle will focus on how to build an OpenStack test environment using Juju and LXD. installing LXD It is very easy to install LXD, just run below command 1 $ sudo apt-install lxd If you can't find lxd package, run below command to add PPA(Personal Package Archive) to find LXD package.

Suspend issue on Thinkpad X1C 6th with Ubuntu 18.04

S3 Suspend not supported by default There is an issue about suspend on Thinkpad X1 Carbon when using Ubuntu 18.04. When you close the lid suspend does not works well. It will continue cose some power and get you laptop hot. The root cause is the 6th gen X1 Carbon supports S0i3(Which is also known as Windows Modern Standby) but does not support the S3 sleep state. S0i3 sleep support After some researching, the workaround can be this:

Error: Failed container creation: Failed to load raw.lxc

I follow below URL to try to install and test MaaS, https://docs.maas.io/2.1/en/installconfig-lxd-install At the profile edit part, from above documents lxc profile edit maas replace the {} after config with the following (excluding config:): 1 2 3 4 5 6 config: raw.lxc: |- lxc.cgroup.devices.allow = c 10:237 rwm lxc.aa_profile = unconfined lxc.cgroup.devices.allow = b 7:* rwm security.privileged: "true" At the launch step, I hit below issue, 1 2 3 $ lxc launch -p maas ubuntu:16.

Ansible 入門 - 応用

こちらの記事はではAnsibleを紹介するための文章で、元Red Hat社員のJingjing Shiが作成し、Wenhan Shiが日本語に翻訳

Ansible 入門 - 紹介

こちらの記事はではAnsibleを紹介するための文章で、元Red Hat社員のJingjing Shiが作成し、Wenhan Shiが日本語に翻訳

The difference between server-side healing and client-side healing in GlusterFS

There are 2 kinds of healing functions in GlusterFS, server-side heal and client-side heal. Server side heal is automatically executed by self-heal daemon on all gluster server nodes. It does healing by crawling file/directory information from .glusterfs directory on brick path. So it will keep the file-data and meta-data to be consistent from server side. Client side heal is different, it will triggers heal for the particular file whenever client accesses files from mount path, which means a file operation on file descriptor.

failed at yum update and how to fix it

I hit an error when running yum update on my centOS 7, the command failed to update my OS! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 # yum update Loaded plugins: fastestmirror Determining fastest mirrors * base: centos.gbeservers.com * epel: linux.mirrors.es.net * extras: linux.mirrors.es.net * ius: hkg.

Docker basic foundation

Base on CentOS 7, Docker 1.12.6 Install Docker Some pre-requirment to install Docker to a Linux OS. Docker only can be installed on a 64 bit OS. Kernel version over 3.10 is recommended. recommend Need to enable cgroup and namespace. Now it is easier to install Docker in CentOS or Fedora, it can be searched by yum command like below: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # yum search docker | grep ^docker docker-client.