Operator-SDK: Custom CRD for Node request information collection

Operator-SDK: Custom CRD for Node request information collection A demo for information collection, which writes a Controller custom CRD to implement Node's request information collection. The primary purpose is to obtain CPU and memory usage. Part of the code refers to the source implementation of describe in the kubectl command. Cluster ...

Posted by amit on Fri, 11 Feb 2022 01:09:07 +0100

How to develop PyFlink API jobs from 0 to 1

Introduction: taking Flink 1.12 as an example, this paper introduces how to use Python language to develop Flink jobs through PyFlink API. As the most popular stream batch unified computing engine, Apache Flink is widely used in real-time ETL, event processing, data analysis, CEP, real-time machine learning and other fields. Starting from Fl ...

Posted by LoganK on Thu, 10 Feb 2022 17:55:11 +0100

Strong Docker+K8S+GitLab+SVN+Jenkins+Harbor+SpringBoot to build a continuous integration environment, 10000 words long text is too top!! (actual combat in the whole process, collection recommended)

It's a week old article. It's not easy to be original. In the whole process of actual combat, let's give you a one click three connection (like, comment and collection). If you have any questions, you can leave a message at the end of the article for discussion, or send a private letter to me on CSDN. I'll reply to you when I see it. In additio ...

Posted by cueball2000uk on Thu, 10 Feb 2022 11:21:52 +0100

kubernetes learning notes - building k8s clusters hand in hand

1, The easiest way to install docker 1.1 installing docker sudo apt install docker.io  docker version 1.2 add common user permissions sudo groupadd docker sudo usermod -aG docker $USER newgrp docker  docker version/info 1.3 modify the default Cgroup Driver of docker Official tutorial: https://kubernetes.io/docs/setup/production-environmen ...

Posted by coltrane on Wed, 09 Feb 2022 02:58:51 +0100

Advanced Kubernetes concepts and Applications

1. K8S Storage Volume Abstract Volume By default: the temporary storage inside the mysql container is used to store data files when the container starts If mysql Pod is restarted, the mysql container will also be restarted, mysql will reinitialize the data file, and the original data file will be lost. apiVersion: apps/v1 ki ...

Posted by northcave on Fri, 04 Feb 2022 18:48:39 +0100

Docker&Kubernetes ❀ detailed explanation of basic commands of docker image and container related operations

1. Docker information query 1.1 version information [root@localhost ~]# docker version Client: Docker Engine - Community #Client version information Version: 20.10.5 API version: 1.41 Go version: go1.13.15 Git commit: 55c4c88 Built: Tue Mar 2 20:17:04 2021 OS/Arch: linux/amd64 ...

Posted by Base on Fri, 04 Feb 2022 09:14:26 +0100

Kubernetes Installation Cluster and Deployment Application

Learning Video: Kubernetes (K8S) 3 hours fast start + practice, no waste pure dry goods Reference documents: https://k8s.easydoc.net/ Content description: What is kubernetes, when does it need to be, and its architecture.Install the kubernetes cluster in three different ways. Includes minikube, cloud platform and bare machine (3 serv ...

Posted by DjMikeS on Thu, 03 Feb 2022 19:19:38 +0100

It's hard for you to pretend, Kubernetes

A long time ago, it was said that a wave of Kubernetes clusters would be installed on the virtual machine, but it reported an error once before. Later, it has not been reinstalled. Taking advantage of the holiday and rest these days, another wave was reinstalled, which can be regarded as done. This article will share with you the precautions fo ...

Posted by new_to_php2004 on Thu, 03 Feb 2022 15:57:00 +0100

k8s high availability cluster

Previously, the k8s cluster with single master and double nodes was built based on kubedm. The problem is that after the master node is hung, the whole cluster will be unavailable. Therefore, simply study the construction method of multiple masters. 1. Scheme introduction   The high availability technologies used are mainly kept and haproxy. 1 ...

Posted by ferrit91 on Wed, 02 Feb 2022 18:55:46 +0100

K8S Learning (12) -- Pod scheduling

1, Pod scheduling By default, the Node on which a Pod runs is calculated by the Scheduler component using the corresponding algorithm. This process is not controlled manually. However, in actual use, this does not meet the needs of users, because in many cases, we want to control some pods to reach some nodes, so what should we do? This requir ...

Posted by whitehat on Wed, 02 Feb 2022 09:45:44 +0100