上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 69 下一页
摘要: 一、找安装的yaml文件 ingress-nginx的官网地址为: https://github.com/kubernetes/ingress-nginx 我们可以找到安装的yaml文件,网址为: https://github.com/kubernetes/ingress-nginx/tree/ma 阅读全文
posted @ 2021-12-07 16:14 沐雪架构师 阅读(6250) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/Sungeek/p/9084510.html 阅读全文
posted @ 2021-12-07 15:31 沐雪架构师 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 使用kubectl get pods, 发现很多pod的状态为evicted。 原因 eviction,即驱赶的意思,意思是当节点出现异常时,kubernetes将有相应的机制驱赶该节点上的Pod。多见于资源不足时导致的驱赶。 解决方案 排查资源和异常原因,防止新的驱赶产生。使用如下命令删除旧驱赶的 阅读全文
posted @ 2021-12-07 14:04 沐雪架构师 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 一、 为什么要有helm? K8S 上的应用对象,都是由特定的资源描述组成,包括 deployment、service 等。都保存 各自文件中或者集中写到一个配置文件。然后 kubectl apply –f 部署。如果应用只由一 个或几个这样的服务组成,上面部署方式足够了。而对于一个复杂的应用,会有 阅读全文
posted @ 2021-12-05 15:46 沐雪架构师 阅读(2839) 评论(0) 推荐(0) 编辑
摘要: 1、deployment的简单写法: nginx-deploy.yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-depoly namespace: default labels: app: nginxapp spec: 阅读全文
posted @ 2021-12-03 17:57 沐雪架构师 阅读(994) 评论(0) 推荐(0) 编辑
摘要: nfs服务端安装: yum install nfs-utils -y mkdir /data/volumes -pv 将该目录作为共享目录。 vim /etc/exports 添加内容如下: /data/volumes *(rw,no_root_squash) no_root_squash: 用户具 阅读全文
posted @ 2021-12-02 13:21 沐雪架构师 阅读(443) 评论(0) 推荐(0) 编辑
摘要: kubectl get pods -w 阅读全文
posted @ 2021-12-01 14:05 沐雪架构师 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 参考:https://zhuanlan.zhihu.com/p/114178089 组件的git地址:https://github.com/SkyAPM/SkyAPM-dotnet 1、nuget先安装一下 SkyAPM.Agent.AspNetCore 2、配置一下环境变量 ASPNETCORE_ 阅读全文
posted @ 2021-11-24 14:29 沐雪架构师 阅读(941) 评论(0) 推荐(0) 编辑
摘要: HttpClient是经常用到的。我们做一个简单的封装类 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Heade 阅读全文
posted @ 2021-11-23 11:05 沐雪架构师 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder( 阅读全文
posted @ 2021-11-22 11:36 沐雪架构师 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 69 下一页