kube-proxy问题: 问题原因:启动参数不正确,参数中使用了下划线,改成短线 service设置NodePort类型,NodeIP+Port方式无法访问 问题原因:service 里面没有 nodePort port :service 的port targetPort pod 的port no ...
分类:
Web程序 时间:
2017-04-13 17:10:29
阅读次数:
1316
There are two properties in the node student id and scores, to ensure that each student will have at least 5 points, find the average of 5 highest sco ...
分类:
其他好文 时间:
2017-04-13 09:04:13
阅读次数:
309
Given some points and a point origin in two dimensional space, find k points out of the some points which are nearest to origin.Return these points so ...
分类:
其他好文 时间:
2017-04-13 09:01:05
阅读次数:
235
7.5 Task Switching 任务切换 The 80386 switches execution to another task in any of four cases: 80386在以下四种情况下会切换另一个任务去执行: 当前任务执行了一个引用了TSS描述符的JMP或CALL。 当前任务 ...
分类:
其他好文 时间:
2017-04-11 14:04:13
阅读次数:
318
A - ι⊥l(无敌水题) Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Three poles stand evenly spaced along a line. Their height ...
分类:
其他好文 时间:
2017-04-10 21:11:58
阅读次数:
191
//一个returnnamespace CleanCSharp.Methods.Dirty { class MethodExitPoints { public string GenerateAgeAppropriateGreeting( int customerAgeInYears) { strin... ...
分类:
其他好文 时间:
2017-04-10 15:23:16
阅读次数:
146
函数名:full_rotated_rect 函数参数: image输入图像,rect希望在图像中填充的RotatedRect,color填充的颜色 主要的思路是:先找到RotatedRect的四个顶点,然后画出外框。再利用四个顶点找出其中平行两边的所有点,对相应的两个点进行连接。 函数名:find_ ...
分类:
其他好文 时间:
2017-04-09 14:49:57
阅读次数:
456
We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no in ...
分类:
其他好文 时间:
2017-04-08 19:43:36
阅读次数:
291
ZOJ1081 给一个点和一个多边形 判断点在多边形内(边上)还是在多边形外 在多边形外的点引一条射线必然穿过多边形的两条边 而在多边形内的点则不一定。 当然凹多边形有特殊情况 但是总能找到对应位置关系的边来抵消 ...
分类:
其他好文 时间:
2017-04-08 18:33:41
阅读次数:
181
恢复内容开始 Container with most water--LeetCode11题 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n ve ...
分类:
其他好文 时间:
2017-04-07 21:12:06
阅读次数:
308