随笔 - 384  文章 - 3 评论 - 0 阅读 - 48532
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2021 档案
k8s安装文档
摘要:## Kubernetes详细教程 ### 1. Kubernetes介绍 #### 1.1 应用部署方式演变 在部署应用程序的方式上,主要经历了三个时代: - **传统部署**:互联网早期,会直接将应用程序部署在物理机上 > 优点:简单,不需要其它技术的参与 > > 缺点:不能为应用程序定义资源使 阅读全文
posted @ 2021-11-25 17:09 401335990 阅读(438) 评论(0) 推荐(0) 编辑
K8S---安全之访问控制
摘要: 阅读全文
posted @ 2021-11-25 15:53 401335990 阅读(43) 评论(0) 推荐(0) 编辑
K8S网络介绍---CNI
摘要: 阅读全文
posted @ 2021-11-25 11:03 401335990 阅读(76) 评论(0) 推荐(0) 编辑
kubectl 常用命令
摘要:查看集群管理组件是否正常 端口转发功能: 开启代理,通过kubectl客户端工具访问 Pod 通过服务随机访问pod 临时运行一个pod并执行命令: kubectl run -it srvlookup --image=tutum/dnsutils --rm --restart=Never -- di 阅读全文
posted @ 2021-11-24 21:00 401335990 阅读(130) 评论(0) 推荐(0) 编辑
docker制作镜像常用命令
摘要:docker build . -t kubia-pet 阅读全文
posted @ 2021-11-24 17:26 401335990 阅读(42) 评论(0) 推荐(0) 编辑
学习网址
摘要:黑马程序员Python教程_600集Python从入门到精通教程(懂中文就能学会)_哔哩哔哩_bilibili 1 天学习 Jenkins【共6课时】_自动化运维课程-51CTO学堂 编写dockerfile源码编译构建lnmp环境_docker入门与实战_Docker视频-51CTO学堂 Gitl 阅读全文
posted @ 2021-11-24 15:24 401335990 阅读(54) 评论(0) 推荐(0) 编辑
centos7进系统图形化一直转圈或命令行提示starting switch root 处理方法
摘要:文章目录说明测试解决方法说明测试系统:rhel7.3 , 该方法通用与centos和红帽。原因,开机进不去系统,一直转圈,如下图 命令模式提示:starting switch root(忘截图) 测试重启,选择内核界面按e 在linux16这行输入:rd.break然后按组合键ctrl+x 进入维护 阅读全文
posted @ 2021-11-23 15:31 401335990 阅读(7115) 评论(0) 推荐(0) 编辑
K8S---Secret
摘要: 阅读全文
posted @ 2021-11-19 16:28 401335990 阅读(28) 评论(0) 推荐(0) 编辑
K8S---ConfigMap
摘要: 阅读全文
posted @ 2021-11-19 16:14 401335990 阅读(33) 评论(0) 推荐(0) 编辑
K8S---PVC
摘要: 阅读全文
posted @ 2021-11-19 16:05 401335990 阅读(18) 评论(0) 推荐(0) 编辑
K8S----PV--PVC
摘要: 阅读全文
posted @ 2021-11-19 15:05 401335990 阅读(29) 评论(0) 推荐(0) 编辑
K8S---NFS存储
摘要: 阅读全文
posted @ 2021-11-19 14:33 401335990 阅读(31) 评论(0) 推荐(0) 编辑
K8S---HostPath
摘要: 阅读全文
posted @ 2021-11-19 14:21 401335990 阅读(53) 评论(0) 推荐(0) 编辑
K8S---数据存储
摘要: 阅读全文
posted @ 2021-11-19 12:08 401335990 阅读(34) 评论(0) 推荐(0) 编辑
K8S---容忍
摘要: 阅读全文
posted @ 2021-11-19 11:47 401335990 阅读(31) 评论(0) 推荐(0) 编辑
K8S---污点
摘要: 阅读全文
posted @ 2021-11-19 11:34 401335990 阅读(32) 评论(0) 推荐(0) 编辑
K8S---pod反亲和性
摘要: 阅读全文
posted @ 2021-11-19 11:07 401335990 阅读(34) 评论(0) 推荐(0) 编辑
K8S---pod亲和性
摘要: 阅读全文
posted @ 2021-11-19 10:44 401335990 阅读(29) 评论(0) 推荐(0) 编辑
K8S---亲和性调度----节点亲和性
摘要: 阅读全文
posted @ 2021-11-19 10:17 401335990 阅读(42) 评论(0) 推荐(0) 编辑
K8S--Pod调度----定向调度
摘要: 阅读全文
posted @ 2021-11-18 20:58 401335990 阅读(64) 评论(0) 推荐(0) 编辑
K8S---port
摘要: 阅读全文
posted @ 2021-11-18 19:24 401335990 阅读(28) 评论(0) 推荐(0) 编辑
K8S---启动命令
摘要: 阅读全文
posted @ 2021-11-18 19:08 401335990 阅读(390) 评论(0) 推荐(0) 编辑
K8S---环境变量
摘要: 阅读全文
posted @ 2021-11-18 19:08 401335990 阅读(85) 评论(0) 推荐(0) 编辑
K8S 常用命令
摘要:kubectl --help 阅读全文
posted @ 2021-11-18 15:00 401335990 阅读(36) 评论(0) 推荐(0) 编辑
K8S资源管理方式
摘要:apply包含(用于) create (创建) 及 patch(更新) 资源 apply 如果资源存在就更新 阅读全文
posted @ 2021-11-18 14:28 401335990 阅读(50) 评论(0) 推荐(0) 编辑
K8S---容器探测
摘要: 阅读全文
posted @ 2021-11-16 17:00 401335990 阅读(37) 评论(0) 推荐(0) 编辑
K8S---HPA
摘要: 阅读全文
posted @ 2021-11-16 11:49 401335990 阅读(31) 评论(0) 推荐(0) 编辑
K8S-HPA
摘要: 阅读全文
posted @ 2021-11-16 10:45 401335990 阅读(32) 评论(0) 推荐(0) 编辑
K8S---金丝雀发布
摘要: 阅读全文
posted @ 2021-11-16 10:25 401335990 阅读(130) 评论(0) 推荐(0) 编辑
k8s---版本回退
摘要: 阅读全文
posted @ 2021-11-16 10:09 401335990 阅读(304) 评论(0) 推荐(0) 编辑
k8s---deployment--镜像更新
摘要:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 阅读全文
posted @ 2021-11-16 09:43 401335990 阅读(45) 评论(0) 推荐(0) 编辑
K8S---Deployment扩缩容
摘要: 阅读全文
posted @ 2021-11-15 17:04 401335990 阅读(67) 评论(0) 推荐(0) 编辑
K8S---deployment
摘要: 阅读全文
posted @ 2021-11-15 16:59 401335990 阅读(25) 评论(0) 推荐(0) 编辑
K8S---ReplicaSet(RS)
摘要:ReplicaSet扩缩容 1)通过修改rs的yaml文件 kubectl edit rs rs-name 2) 通过命令 ReplicaSet版本升级 1)通过修改rs的yaml文件 kubectl edit rs rs-name 修改镜像字段 2) 通过命令 阅读全文
posted @ 2021-11-15 15:54 401335990 阅读(53) 评论(0) 推荐(0) 编辑
k8s---ingress---2---------http代理
摘要:HTTPS 阅读全文
posted @ 2021-11-15 11:27 401335990 阅读(63) 评论(0) 推荐(0) 编辑
K8S---Ingress--1
摘要: 阅读全文
posted @ 2021-11-15 10:22 401335990 阅读(29) 评论(0) 推荐(0) 编辑
K8S---Service---ExternalName
摘要: 阅读全文
posted @ 2021-11-11 21:09 401335990 阅读(31) 评论(0) 推荐(0) 编辑
k8s---service---LoadBlancer
摘要:kubectl expose deployment xxx --port=8080 --target-port=8080 --type=LoadBalancer 阅读全文
posted @ 2021-11-11 20:59 401335990 阅读(80) 评论(0) 推荐(0) 编辑
k8s---Service---NodePort
摘要:kubectl expose deployment xxxx --port=8080 --target-port=8080 --type=NodePort 清单 中,port是集群中各个服务之间访问的端口 targetPort 是容器暴露的端口 nodePort 是外部访问的随机端口 阅读全文
posted @ 2021-11-11 20:57 401335990 阅读(132) 评论(0) 推荐(0) 编辑
k8s---无头服务
摘要:即将clusterIP属性设置为None即可 访问的方式: 服务名字+名称空间+svc.cluster.local 阅读全文
posted @ 2021-11-11 20:47 401335990 阅读(434) 评论(0) 推荐(0) 编辑
k8s---容器钩子
摘要: 阅读全文
posted @ 2021-11-11 20:27 401335990 阅读(69) 评论(0) 推荐(0) 编辑
pod生命周期
摘要: 阅读全文
posted @ 2021-11-11 19:03 401335990 阅读(37) 评论(0) 推荐(0) 编辑
K8S---pod创建过程及终止过程
摘要: 阅读全文
posted @ 2021-11-11 18:27 401335990 阅读(127) 评论(0) 推荐(0) 编辑
K8S--Pod生命周期
摘要: 阅读全文
posted @ 2021-11-11 16:18 401335990 阅读(39) 评论(0) 推荐(0) 编辑
k8s---pod资源限制
摘要:limits: 用于限制运行时容器的最大占用资源,当容器占用资源超过limits时会被终止,并进行重启 requests: 用于设置容器需要的最小资源,如果环境资源不够,容器将无法启动 可以通过上面2个选项设置资源的上下限。 阅读全文
posted @ 2021-11-11 16:17 401335990 阅读(224) 评论(0) 推荐(0) 编辑
K8S-----Service
摘要:1、命令方式 创建服务 kubectl expose deploy nginx --name=svc-nginx --type=ClusterIP --port=80 --target-port=80 集群IP ClusterIP 只能集群内部访问 节点IP NodePort 可以外部访问 kube 阅读全文
posted @ 2021-11-11 15:48 401335990 阅读(22) 评论(0) 推荐(0) 编辑
Docker file常用关键字
摘要: 阅读全文
posted @ 2021-11-05 18:25 401335990 阅读(35) 评论(0) 推荐(0) 编辑
K8S 准入控制
摘要:2021讲的最好的kubernetesK8S全套教程_哔哩哔哩_bilibili 花200大洋买的马哥Kubernetes(K8S)入门教程_哔哩哔哩_bilibili Kubernetes(K8S) 入门进阶实战完整教程,黑马程序员K8S全套教程(基础+高级)_哔哩哔哩_bilibili 阅读全文
posted @ 2021-11-05 18:19 401335990 阅读(39) 评论(0) 推荐(0) 编辑
ubuntu云主机重起后丢失IP处理方法
摘要: 阅读全文
posted @ 2021-11-05 16:41 401335990 阅读(262) 评论(0) 推荐(0) 编辑
K8S 授权
摘要: 阅读全文
posted @ 2021-11-05 16:29 401335990 阅读(31) 评论(0) 推荐(0) 编辑
K8S 安全认证
摘要: 阅读全文
posted @ 2021-11-05 15:56 401335990 阅读(45) 评论(0) 推荐(0) 编辑
通过Docker创建LNMP
摘要:1、创建网络 docker network create -d bridge --subnet=172.20.0.0/16 --gateway=172.20.0.1 lnmp 2、创建Mysql容器 docker run -d --net lnmp -p 3306:3306 -v /data/mys 阅读全文
posted @ 2021-11-05 14:43 401335990 阅读(47) 评论(0) 推荐(0) 编辑
docker 网络(二)
摘要:创建容器时指定DNS docker run -it --hostname Mylinux --name cs25 --dns 114.114.114.114 centos:v5 /bin/bash 创建网络: docker network create -d bridge --subnet 180. 阅读全文
posted @ 2021-11-05 10:09 401335990 阅读(85) 评论(0) 推荐(0) 编辑
docker 网络
摘要:1、默认就是bridge模式 2、host使用示例 docker run --net=host --name cs20 centos:v1 /bin/bash 3、container使用示例 docker run -it --net=container:cs5 --name cs21 centos: 阅读全文
posted @ 2021-11-04 20:26 401335990 阅读(29) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示