码迷,mamicode.com
首页 >  
搜索关键字:nodes    ( 4030个结果
k8s-集群node节点重启docker进程的操作
k8s集群搭建后。重新做了docker私库。需要将集群的节点修改docker配置,重启docker。 1. 将vonedaonode1踢出集群 # kubectl drain vonedaonode1 2. 查看 # kubectl get nodes NAME STATUS ROLES AGE V ...
分类:系统相关   时间:2020-03-12 14:13:06    阅读次数:363
奇偶链表
给定一个单链表,把所有的奇数节点和偶数节点分别排在一起。请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性。 请尝试使用原地算法完成。你的算法的空间复杂度应为 O(1),时间复杂度应为 O(nodes),nodes 为节点总数。 class Solution { publ ...
分类:其他好文   时间:2020-03-11 23:59:07    阅读次数:113
144. Binary Tree Preorder Traversal
Given a binary tree, return the preorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,2,3] Follow up: Recursive s ...
分类:其他好文   时间:2020-03-08 11:13:53    阅读次数:88
Docker Swarm(三)Service(服务)分配策略
Service的分配原則 預設分散至多個nodes上 使用率較低的node優先配置 使用者可自行定義此分配模式 Service分配的3種方式 Service Constraints (服务约束) 参考:https://www.cnblogs.com/caoweixiong/p/12382282.ht ...
分类:其他好文   时间:2020-03-06 23:44:28    阅读次数:140
k8s之kubectl常用命令
node相关 kubectl get nodes -o wide kubectl describe node node01 容器命令 kubectl get pods -A -o wide kubectl describe pod edgedns-xxx -n openname kubectl ex ...
分类:其他好文   时间:2020-03-05 20:47:54    阅读次数:112
在Spring Boot 上配置Redis Cluster出现的异常
〇、背景 已在虚拟机的docker中搭建好了6个节点的redis 集群:Docker Redis 5.0集群搭建 现在在宿主机以Spring Boot环境连接集群 一、异常1:无法连接集群 1.配置: 1 #rediss 2 spring.redis.cluster.nodes=192.168.22 ...
分类:编程语言   时间:2020-03-02 23:10:12    阅读次数:358
LeetCode 124. Binary Tree Maximum Path Sum 二叉树中的最大路径和 (C++/Java)
题目: Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to ...
分类:编程语言   时间:2020-02-28 14:11:20    阅读次数:84
[BPNN]BP神经网络实现
BP神经网络实现 以3层网络为例,Python实现; 1.代码框架 主要函数: Init函数:设定InputLayer nodes、HiddenLayer nodes、OutputLayer nodes数量,网络链接权重和学习率; Training函数:学习训练集体样本并优化权重; Query函数: ...
分类:其他好文   时间:2020-02-27 20:43:23    阅读次数:107
如何判断EasyUi中treegride的某一节点是不是叶子节点
//判断该节点是不是叶子节点 var nodes=$('#user').treegrid('getChildren', rows[i].id); if(nodes.length>0){ alert("你选择的节点不是叶子节点,请重新选择!} ...
分类:其他好文   时间:2020-02-23 20:11:54    阅读次数:58
LeetCode 684. Redundant Connection 冗余连接(C++/Java)
题目: In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes ...
分类:编程语言   时间:2020-02-21 22:42:00    阅读次数:81
4030条   上一页 1 ... 10 11 12 13 14 ... 403 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!