kubernetes-kubectl operation example

1. Create resource objects Create a Service and RC at once from a YAML configuration file: kubectl create -f my-service.yaml -f my-rc.yaml According to all under the directory. yaml,. yml,. The definition of the json file is created: kubectl create -f <directory> 2. View Resource Objects View all Pod lists: kubectl get pods ...

Posted by khayll on Sat, 22 Jan 2022 06:27:48 +0100

Best practices for intelligent patrol alarm configuration

Introduction: the detection results of intelligent anomaly analysis are output to the notification channel configured by the user through the SLS alarm function. In the intelligent patrol scenario, a single task often patrols a large number of entity objects and involves many object rules. We can better manage patrol events through the new SLS ...

Posted by praeses on Fri, 21 Jan 2022 04:22:14 +0100

Community Knowledge Base Common Questions and Answers FAQ Collection Phase 4: Message Retention and Delay, Broker, Pulsar Permissions, etc.

Usually in the Pulsar communication group, we find that you will encounter similar problems repeatedly in the process of contacting and using Pulsar. In order to solve these "high frequency questions" more efficiently, and to thank the friends who have asked good questions, we have set up a FAQ knowledge base to collect and answer you ...

Posted by PhpDog on Wed, 19 Jan 2022 10:26:10 +0100

How to quickly schedule the millions of concurrent capabilities of PTS

Author: Ling ran In the actual business scenario, pressure testing is an essential part. Whether it is the evaluation of performance bottlenecks such as servers, databases and networks, the business continuity guarantee of important traffic nodes such as browsing, ordering and payment, or the estimation of the overall business stability of the ...

Posted by prasad_deba on Tue, 18 Jan 2022 17:30:04 +0100

Zookeeper learning notes

1, Introduction to ZooKeeper ZooKeeper Description: it is a distributed, open source distributed application coordination service ZooKeeper's goal is to encapsulate complex and error prone key services and provide users with simple and easy-to-use interfaces and systems with efficient performance and stable functions. ZooKeeper features: 1. ...

Posted by danleighton on Tue, 18 Jan 2022 10:04:41 +0100

How to gracefully pull private images from Harbor?

Previously, I shared the Harbor series articles in my column Harbor dictionary. In this issue, we will continue to share how to pull private images in Harbor in k8s's container. We can pull public images in Harbor at will, but some private images cannot be pulled directly. We can use the Secret resource object to pull private images. The foll ...

Posted by nonaguy on Tue, 18 Jan 2022 08:20:35 +0100

Adding k8s nodes in kubedm

From below, you can see that there are problems in three places etcd-master1,kube-apiserver-master1,kube-flannel-ds-42z5p [root@master3 ~]# kubectl get pods -n kube-system -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES coredns-546565776c ...

Posted by usvpn on Sat, 15 Jan 2022 15:42:46 +0100

Speed of light from 0 to 1 master Prometheus and Grafana, Tencent cloud expert 5 million words essence tutorial free.

authorHuang Lei, a senior engineer of Tencent cloud, was responsible for building a new generation of multi-dimensional business monitoring system for Tencent cloud monitoring. He is good at large-scale distributed monitoring system design and has a deep understanding of the architecture design of golang background project. Later, he joined the ...

Posted by Jtech on Wed, 05 Jan 2022 20:13:31 +0100

K8s common command collection

The purpose of this article is to record the CLI command set commonly used in the use of K8s. The following is a brief classification of the related commands for different operations of various resource objects in K8s cluster. 1. Create resources Generally, there are two ways to create resources: through files or commands. # Create a Deploym ...

Posted by [e]r!k on Wed, 05 Jan 2022 07:21:02 +0100

Eureka Server source code startup process and REST interface analysis

catalogue EurekaBootStrap initEurekaEnvironment initEurekaServerContext ApplicationInfoManager Create EurekaClient Create a registry of application instance information Initialize EurekaServerContext EurekaBootStrap Eureka server # startup entry: this class implements ServletContextListener. When the Servlet container (such as Tomca ...

Posted by victordb on Wed, 05 Jan 2022 01:50:16 +0100