上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TJCFinanceWriteOff.BizLogic.Common { /// /// C#金额大写转小写 /// ... 阅读全文
posted @ 2019-10-29 09:54 SpringCore 阅读(258) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 5 namespace TJCFinanceWriteOff.BizLogic.Common 6 { 7 public class UnixTimeUtil 8 { 9 /// 10 ... 阅读全文
posted @ 2019-10-29 09:54 SpringCore 阅读(438) 评论(0) 推荐(0)
摘要: 1 using (Bitmap bmp = new Bitmap(scanImgPath)) 2 { 3 Bitmap bitmap = new Bitmap(bmp.Width, bmp.Height, PixelFormat.Format16bppRgb555); 4 using (Graphics draw = Graphics.FromImage(bitmap)) 5 { 6 draw.D 阅读全文
posted @ 2019-10-29 09:52 SpringCore 阅读(3039) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Reflection; using System.Text; namespace TJCFinanceWriteOff.BizLog... 阅读全文
posted @ 2019-10-14 14:45 SpringCore 阅读(991) 评论(0) 推荐(0)
摘要: 对于k8s传统的svc来说 它仅支持4层代理,如果遇到7层代理的话,是没有办法去实现的 k8s官方在1.11中推出了ingress api接口,通过ingress达到7层代理的效果 对于ingress来说,必须要绑定一个域名,因为它是基于7层代理的 资料信息 Ingress-Nginx github 阅读全文
posted @ 2019-09-29 17:51 SpringCore 阅读(1290) 评论(0) 推荐(0)
摘要: ⒈介绍 kubernetes 通过标签选择的方式来匹配一组pod,然后提供对外访问的一种机制 一组pod可以对应到多个svc的 每一个service(svc)都可以理解为一个微服务 Service有且只有一个算法 RB 轮询, Service能够提供负载均衡的能力,但是在使用上有以下限制: ·只提供 阅读全文
posted @ 2019-09-24 16:28 SpringCore 阅读(8786) 评论(0) 推荐(1)
摘要: ⒈DaemonSet介绍,什么是DaemonSet DaemonSet 确保全部(或者一些)Node 上运行一个Pod的副本【注意主节点并不会参加调度】。当有 Node 加入集群时,也会为他们新增一个Pod。当有Node从集群移除时,这些Pod 也会被回收。删除DaemonSet将会删除它创建的所有 阅读全文
posted @ 2019-09-24 13:47 SpringCore 阅读(623) 评论(0) 推荐(0)
摘要: 1.ReplicationController和ReplicaSet介绍 RC(ReplicationController)主要的作用就是用来确保容器应用的副本数始终保持在用户定义的副本数。即如果有容器异常退出,会自动创建新的Pod来替代;而如果异常多出来的容器也会自动回收Kubernetes 官方 阅读全文
posted @ 2019-09-23 17:31 SpringCore 阅读(1585) 评论(0) 推荐(0)
摘要: ⒈引用 Pod的分类 自助式pod 只要pod退出了,此类型的pod不会被重建,该pod没有管理者,死亡后不会被拉起。 自助式pod 控制器管理的pod【生产环境中大多数都是选择控制器去管理pod】 在控制器的生命周期里始终要维持pod的副本数目 区别 生命周期被管理的机制不太一致 ⒉控制器介绍,什 阅读全文
posted @ 2019-09-23 17:16 SpringCore 阅读(269) 评论(0) 推荐(0)
摘要: ⒈Pod 中只有一个容器并且正在运行,容器成功退出 ·记录事件完成 ·如果restartPolicy为: Always:重启容器;Pod phase仍为Running OnFailure:Pod phase 变成 Succeeded Never:Pod phase 变成 Succeeded ⒉Pod 阅读全文
posted @ 2019-09-23 13:48 SpringCore 阅读(904) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页