pv and pvc practice of k8s persistent storage

In a previous article on k8s deploying zabbix monitoring system, we used hostPath to persist mysql data and simple use of emptyDir.If we want to deploy a production-level application on k8s, it is clear that using hostPath and emptyDir to persist our data is not possible for data persistence. We also need more reliable storage to hold the pers ...

Posted on Mon, 17 Feb 2020 18:15:21 -0500 by DeathStar

springboot transaction configuration

springboot transaction correlation 1. Turn on global transaction support Configuration@EnableTransactionManagement is enabled in SpringbootApplication. Used to support @Transactional Turn on APO configuration support @EnableAspectJAutoProxy (exposeProxy = true) Automatic transaction configuration to support aop mode Where ex ...

Posted on Mon, 17 Feb 2020 11:20:50 -0500 by dougal85

ThinkPHP5.1 database operation of learning notes

data base See also Thinkphp5.1 complete development manual Learning Mirror Wang Yuyang Database connection ThinkPHP uses built-in abstract layer to encapsulate database operations, and based on PDO mode, it can adapt to various databases. The configuration file of database connection (config/database.php) sets the connection information of ...

Posted on Sun, 16 Feb 2020 08:08:09 -0500 by stewart715

A real-time monitoring web tool for oracle service response time written in python

The old fellow's scaffold is mainly based on the old iron scaffold. https://github.com/shengxinjing/my_blog/tree/master/monitor Main tools: python, flask, sqllite (I didn't choose mysql, sqllite is enough, it's a small function, I like simplicity) Main functions: Monitor the average response time of oracle 10g and 11g datab ...

Posted on Thu, 13 Feb 2020 15:10:45 -0500 by behicthebuilder

Linux -- Basic Application Statistics

Article directory 11. Build personal Leanote cloud notebook 12. Building Firekylin personal blog 13. Experience CVM of CentOS system 14. Maven installation and getting started 15. Building a Laravel environment 16. Jenkins environment construction 17. Build wechat applet service 18. Build wechat AI r ...

Posted on Thu, 13 Feb 2020 06:11:16 -0500 by Chris92

Sqoop of big data technology

Sqoop of big data technology Chapter 1 Introduction to Sqoop Sqoop is an open source tool, mainly used in Hadoop(Hive) and traditional databases (mysql, postgresql )For data transfer, you can import data from a relational database (such as mysql, Oracle, Postgres, etc.) into HDFS of Hadoop, or i ...

Posted on Wed, 12 Feb 2020 23:54:15 -0500 by vickie

Reinforcing the security of common services

Case 2: Reinforcing the security of common services 2.1 Question This case requires optimizing the security of common network services to accomplish the following tasks: Optimizing security configuration for Nginx services Optimize the security configuration of MySQL database Optimize Tomcat's secu ...

Posted on Wed, 12 Feb 2020 21:06:24 -0500 by Iasonic

MySQL advanced 2: condition query

For this tutorial, please refer to MySQL 5.5.27 and sqliog installation tutorial MySQL and sqliog installation tutorial Catalog WHERE grammar Execution sequence classification 1. Filter by conditional expression 2. Filter by logical expression 3. Fuzzy query 1) like 2) between and 3) in 4 ...

Posted on Wed, 12 Feb 2020 09:37:17 -0500 by rd2010

Database development MySQL primary key

4, primary key There are several attributes in a record in a relational database. If an attribute group (note that it is a group) can uniquely identify a record, the attribute group can become a primary key. for example Student table (student number, name, gender, class) in which each student's studen ...

Posted on Wed, 12 Feb 2020 08:32:27 -0500 by emopoops

Stateful set (stateful service) implementation of k8s

Statefullset introduction Problems encountered: The Pod created by Deployment is stateless. After a Volume is hung, if the Pod is hung, Replication Controller will run another to ensure availability. However, because the Pod is stateless, the relationship between the Pod and the previous Volume is broken when the Pod is hung, and the new Pod c ...

Posted on Wed, 12 Feb 2020 07:21:10 -0500 by chowdary