Deploy K8S1.22.3 stepping pit based on kubedm
Server node:
k8s-master01192.168.1.50k8s-node01192.168.1.51k8s-node02192.168.1.52
1, To install docker, all servers need to be installed
Install the dependent libraries of Docker.
yum install -y yum-utils device-mapper-persistent-data lvm2
Add the software source information of Alibaba cloud Docker CE.
yum-config-manager --add-repo http: ...
Posted by madhavanrakesh on Fri, 12 Nov 2021 03:07:39 -0800
How the client communicates with the pod -- Service
pod communication and service discovery
In a world without k8s, the system administrator needs to specify the exact ip address or host name of the service in the client configuration file to configure the client application, but it is not necessary in k8s. The application in k8s runs in pod, and the high availability design of pod makes it imp ...
Posted by aris1234 on Wed, 10 Nov 2021 03:46:51 -0800
ceph RBD block storage general operation
View pools Create a pool containing 64 PGs and 64 PGPS
[root@node-1 ~]# ceph osd pool create ceph-demo 64 64
pool 'ceph-demo' created
[root@node-1 ~]# ceph osd lspools
1 ceph-demo
View pg and pgp
[root@node-1 ~]# ceph osd pool get ceph-demo pg_num pg_num: 64 [root@node-1 ~]# ceph osd pool get ceph-demo pg ...
Posted by Andy17 on Tue, 09 Nov 2021 14:11:50 -0800
Installation and use of kubernetes
1 Introduction to kubernetes
1.1 kubernetes function
Automatic packing
Based on the resource configuration requirements of the application running environment, the application container is automatically deployed
Self healing (self healing)
When the container fails, the container is restartedWhen there is a problem with the deployed Node, t ...
Posted by sneakyimp on Mon, 08 Nov 2021 08:03:36 -0800
How to send alarm notification to wechat in Python?
Recently, I became Alibaba cloud's Promotion Ambassador and brought 200 readers together to receive Alibaba cloud's servers for free. Everyone said "really fragrant".
PS: if you want to participate in receiving the free server, you can add me v: Hello WBM, and I'll send you the operation process.
In fact, there are still many proble ...
Posted by Bifter on Sat, 06 Nov 2021 19:21:33 -0700
Etcd v3 backup and recovery
ETCD introduction
ETCD It is a distributed and consistent KV storage system for shared configuration and service discovery. Etcd is an open source project initiated by CoreOS, and the license agreement is Apache.
ETCD usage scenario
ETCD has many usage scenarios, including but not limited to:
configuration managementService registere ...
Posted by crosbystillsnas on Sat, 06 Nov 2021 10:12:25 -0700
Kubernetes(k8s) deploy redis cluster cluster
Redis Cluster provides a method to run redis installation, in which data Automatically partition between multiple redis nodes.
Redis Cluster also provides a certain degree of availability during partitioning, which is actually the ability to continue operation when some nodes fail or fail to communicate. However, if a major failure occur ...
Posted by freeheader on Fri, 05 Nov 2021 18:52:27 -0700
[Kubernetes] k8s security management details [k8s framework description, token verification and kubeconfig verification details]
Environmental preparation
First, you need to have a complete set of clusters
[root@master ~]# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
master Ready master 114d v1.21.0 192.168.59.142 <none> ...
Posted by hawleyj on Wed, 03 Nov 2021 18:49:56 -0700
Istio installs and deploys sample microservices
install
Prepare k8s environment in advance and download Istio installation package , I use version 1.6.14 here, and the k8s version is v1.19.8
tar zxvf istio-1.6.14-linux-amd64.tar.gz
cd istio-1.6.14/
cp bin/istioctl /usr/bin
View a list of profiles for different installation modes
istioctl profile list
You can print the contents of the confi ...
Posted by powelly on Tue, 02 Nov 2021 09:16:29 -0700
kubernetes practice - deploying a private Nuget repository using Baget
Reference:
Series: Deploying ASP.NET Core applications to Kubernetes
catalogueNodePod and DeploymentUse Service to forward requests to the specified pod within the clusterLoad balancing external requests with IngressSummary
Book connection kubernetes practice record - building k8s clusters on ubuntu This time, one will be deployed on the kube ...
Posted by mega_hurtz on Sun, 31 Oct 2021 12:21:36 -0700