StatefulSet 有状态应用[有状态应用] 有状态:StatefulSet - 集群节点之间的关系。 - 数据不完全一致。 - 实例之间不对等的关系。 - 依靠外部存储的应用。 - 通过dns维持身份 - 每个pod都有特定的名称和网络标识(如pod名是由statefulSet名+有序的数字组 ...
分类:
Web程序 时间:
2021-07-19 16:40:40
阅读次数:
0
线程池的作用 在多线程的应用中,线程的频繁创建和销毁会浪费时间,从而影响效率,所以引进线程池和概念,将多个线程维护在线程池中,避免了线程频繁创建与销毁的开销问题 线程池的结构 结构体 struct threadpool_t { pthread_mutex_t lock; //互斥锁 pthread_ ...
分类:
编程语言 时间:
2021-07-19 16:30:19
阅读次数:
0
Pset_MaterialConcrete 与混凝土材料有关的一组扩展的机械性能。 混凝土材料有关的一组扩展的机械性能。IfcMaterial/Concrete IfcMaterial/Concrete Compression增强混凝土的抗压强度。抗压强度最大骨料混凝土的最大骨料尺寸。最大骨料尺寸外 ...
分类:
其他好文 时间:
2021-07-19 16:30:04
阅读次数:
0
yum -y install wget telnet net-tools lrzsz vim zip unzip 修改主机名 将master节点主机名修改为k8s-master01 node节点为k8s-node01 以这种命名规则命名即可 关闭防火墙 systemctl stop firewall ...
分类:
其他好文 时间:
2021-07-16 17:44:33
阅读次数:
0
<?php highlight_file(__FILE__); class emmm { public static function checkFile(&$page) { $whitelist = ["source"=>"source.php","hint"=>"hint.php"]; if ( ...
分类:
其他好文 时间:
2021-07-16 17:40:01
阅读次数:
0
1、启动过程中出现Configuration has multiple addresses that match local node's address. Please configure the system with dfs.nameservice.id and dfs.ha.namenode ...
分类:
其他好文 时间:
2021-07-16 17:32:09
阅读次数:
0
缘由: node.js项目中运行npm run start命令脚本报错,No such file or directory 最开始以为是命令脚本找不到所谓的执行路径,但后面发现不是,是package.json没有指定端口或使用的端口已被占用 一、npm run start报错排查流程 1. npm ...
分类:
Web程序 时间:
2021-07-16 17:30:11
阅读次数:
0
php-code-generator 介绍 基于php的代码生成器 测试环境 php ^8.0 支持范围 目前仅支持laravel,后续会支持webman,thinkphp等,也欢迎提交模板 composer composer require zx/php-code-generator 使用方法 1 ...
分类:
Web程序 时间:
2021-07-15 19:01:47
阅读次数:
0
用malloc和free;类似与C++的new和delete 代码: #include <iostream> #include <string> using namespace std; int main(int argc, char* argv[]) { void* ptr = (void*)ma ...
分类:
编程语言 时间:
2021-07-15 18:57:44
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>标题</title> </head> <body> <script> /* 自定义对象({}),可以看成是python中的字典,但是js中的自定义对象要比pyt ...
分类:
Web程序 时间:
2021-07-14 18:51:37
阅读次数:
0