Monitor containers, apiserver s, and auto-discovery and monitoring services with prometheus

Use the built-in cAdvisor monitoring containerCAdvisor is already built into the kubelet component, so we do not need to install it separately. The data path of cAdvisor is / api/v1/nodes/<node>/proxy/metrics1. Add job s, update prometheus configuration - job_name: 'kubernetes-cadvisor' kubernetes_sd_configs: - role: node scheme: h ...

Posted by jeffkee on Mon, 26 Aug 2019 18:28:16 -0700

Development of Authentication Center and Resource Server Access

BACKGROUND: There are many lectures on configuring oauth2 on the internet. The configuration method is complex and complicated, which is not friendly to beginners and daunting. Welcome to this series of blogs based on the latest version of spring cloud hoxton to complete the practice of OAuth 2 Based on Spring Cloud OAuth, the authenticati ...

Posted by lorenzo-s on Sun, 25 Aug 2019 22:45:42 -0700

Go golang Micro Services Framework go-micro Getting Started Notes 2.1 micro Tool micro api

micro api The microfunction is very powerful, and this article will elaborate on the capabilities of the micro api command line Say important things three times The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6 The full code for this article is https://idea.techidea8.com/open/idea.shtml?id=6 The full code for t ...

Posted by runestation on Sat, 24 Aug 2019 17:50:17 -0700

ELK-MACOS build deployment (including cluster)

brief introduction Elasticsearch Elastic search is a real-time distributed search and analysis engine that allows you to explore your data at a speed and scale you've never had before. It is used as a combination of full-text retrieval, structured search, analysis and the three functions. Support cluster configuration. Logstash/Filebea ...

Posted by poujman on Fri, 23 Aug 2019 22:14:23 -0700

Graph database: dgraph basic query

Basic Request Form and Data Preparation http mode Alpha server port / alter is used to modify table structure including deleting database / query user query / mutate adds or modifies data / commit commit transaction alter example: Add name (string type field). Used for subsequent queries. If there is no index, it is not conducive to query. cu ...

Posted by fhil85 on Tue, 13 Aug 2019 20:22:16 -0700

Linux curl form login or submission and cookie use

This article mainly explains the implementation of form submission login through curl.A separate form submission is similar to a form login, so it's not a separate matter. Note: Login for curl form submission does not apply to all websites because some websites have limitations or other checks in the background.We don't know what the restricti ...

Posted by JoCitizen on Sat, 10 Aug 2019 20:44:22 -0700

MySQL benchmark, sysbench use

1. What is benchmarking Benchmarking, in short, is a kind of stress testing for system design. Usually the goal is to master the behavior of the system. Benchmarking can observe the behavior of the system under different pressures, assess the capacity of the system, grasp what are important changes, or ...

Posted by whatever on Mon, 05 Aug 2019 01:23:10 -0700

[Load Balancing LVS Series II] - LVS Basic Configuration

This series of articles outlines five common working modes of LVS, followed by a brief description of the working principle of LVS. IPVSADM and IPVS LVS is responsible for four-tier load balancing scheduling. When we define the scheduling rules of clusters, we need to use a management tool, ipvsadm. The rules defined by ipvsadm are ultimately i ...

Posted by dstefani on Sun, 04 Aug 2019 03:07:09 -0700

zabbix monitors printers and automatically updates monitoring items

It is a wise saying that there is no monitoring and no maintenance. The strength of zabbix is self-evident here. Today, we teach you how to use it to solve a common need, liberate the hands of operation and maintenance, and inspire your thinking. If you see the end with your heart, you will get something: First, the requirements are briefly in ...

Posted by dragon_sa on Thu, 01 Aug 2019 03:23:30 -0700

Getting Spring Application Context to restore the problem scene using Arthas

background Recently, a young monk intern has arranged for him to implement the small function of testing the connectivity of the target website. Simply speaking, the shell script below will be replaced by Java code to achieve it. #!/bin/bash URL="https://www.baidu" HTTP_CODE=`curl -o /dev/null -s -w "%{http_code}" "${URL}"` #echo $HTTP_CODE if ...

Posted by MarcAndreTalbot on Wed, 31 Jul 2019 19:06:59 -0700