Addition and deletion of k8s node nodes and setting of cluster roles
1. Add node node
[root@k8s-4 ~]# kubeadm join 192.168.191.30:6443 --token 6zs63l.4qmypshahrd3rt3x \
--discovery-token-ca-cert-hash sha256:851c0bf733fe1e9bff54af08b84e93635d5b9c6e047a68c694c613391e024185
W0323 15:58:36.010687 1427 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignored when control-plane ...
Posted by shezz on Mon, 23 Mar 2020 15:35:01 +0100
KubeSphere troubleshooting practice
Overview: Kubesphere, which is using qincloud recently, has excellent user experience, privatization deployment, no infrastructure dependence, no Kubernetes dependence. It supports cross physical machine, virtual machine and cloud platform deployment, and can manage Kubernetes clusters of different versions and manufacturers. In the k8s layer ...
Posted by christofurr on Sat, 21 Mar 2020 15:45:49 +0100
k3s service building
There is a server at home, usually used as its own development environment, running some small programs. It is planned to upgrade the server and use k3s to manage common development tools, which is convenient for your own use. Because I only have one server, there is no cluster in this article.
Quick install command
## "-- Docker" use ...
Posted by dymon on Sat, 21 Mar 2020 15:32:51 +0100
Dockerfile Use Tutorial
1. What is a Dockerfile
Dockerfile is a description file for creating a custom Docker image. We can write an instruction in the Dockerfile to control what the image needs to do. The instructions in the Dockerfile are detailed below.
2. Four Functional Partitions of Dockerfile
1. Basic Mirroring
Declare the base image for a custom image
F ...
Posted by Andy82 on Fri, 20 Mar 2020 20:46:03 +0100
Kubernetes environment building - MacOS
Preparation
1. Mac environment requirements
Minikube requires VT-x / AMD-v virtualization to be enabled in BIOS. To check if this is running on OSX / macOS, do the following:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're great!
2. [recommended] use Tsinghua brew image source
cd "$(brew --repo)"
...
Posted by stebbi on Fri, 20 Mar 2020 20:25:15 +0100
Backup of etcd data in k8s
The data stored in etcd is divided into flanned network data and k8s container data.
1. Directly backup the data directory of etcd (generally used for single node)
The data of etcd will be stored in our command working directory by default. We find that the directory where the data is located will be divided into two folders:
snap: store ...
Posted by dbo on Fri, 20 Mar 2020 17:57:30 +0100
Using OpenJ9 JVM for Quarkus applications
In this article, see how to use the OpenJ9 JVM with Quarkus applications and see the memory usage results. Talk about those things in detail
According to the definition on the home page, Quarkus is "Kubernetes native Java stack customized for OpenJDK HotSpot and grailvm". Since I'm a big fan of OpenJ9, I quickly measured the memory us ...
Posted by sgaron on Tue, 17 Mar 2020 05:44:15 +0100
Super ledger fabric Transient Data and Private Data use cases
There are two related concepts in Hyperledger Fabric: Private Data and Transient Data. This paper provides four example programs, which correspond to the four combinations of Private Data and Transient Data. By observing the transactions of account books and the world state database, we can understand why Transient Data should be used as input ...
Posted by netxfly on Mon, 16 Mar 2020 16:01:14 +0100
docker container, network deployment
Deploy centos7 container applications
Mirror download:
[root@yixuan ~]# docker pull daocloud.io/library/centos:7
systemd Integration:
Because SYSTEMd requires CAPSYSADMIN permission, which gives it the ability to read to the host cgroup, SYSTEMd has been replaced with fakesystemd in CentOS7.However, ...
Posted by maddog720 on Sat, 14 Mar 2020 01:33:06 +0100
k8s-1.15 deploy kube-prometheus-0.3.0
Article directory
Deploy Kube Prometheus
Kube Prometheus project composition
Submission of resources
Modify grafana
Create directory on 32.94, create pv, pvc
Create svc of grafana MySQL
Create cm for grafana.ini
Modify the configuration in grafana deployment, add the operation of mounting configma ...
Posted by noisenet on Wed, 11 Mar 2020 11:41:02 +0100