当前位置:网站首页>容器相关的概念
容器相关的概念
2022-07-28 03:02:00 【AdaTina】
镜像启动即为容器
容器编排:集群管理工具
比较有名的容器编排工具:Kubernetes、Apache Mesos、Docker Swarm、Openshift、Rancher等
微服务的概念:微服务就是将一个完整应用中所有的模块拆分成多个不同的服务,其中每个服务都可以独立部署、维护和扩展,服务之间通常通过RESTful API通信,这些服务围绕业务能力构建,且每个服务均可使用不同的编程语言和不同的数据存储技术。
微服务治理框架:Dubbo、Spring Cloud、服务网格(轻代理)
Serverless:不考虑服务器的情况下构建并运行应用程序和服务。实现业务逻辑实现与基础设施分离的设计原则。实现方式:BaaS(Backend as a Service后端即服务)和FaaS(Functions as a Service函数即服务)
容器镜像存在的风险:不安全的第三方组件(存在漏洞的镜像)、大肆传播的恶意镜像、极易泄漏的敏感信息(数据库密码、证书、私钥等被打包成镜像上传到网上)
活动容器存在的风险:
1、不安全的容器应用(存在漏洞的容器,被映射的端口)
2、不受限制的资源共享(默认可以无限使用宿主机的资源,导致资源耗尽)
3、不安全的配置和挂载
--privileged:容器将不受Seccomp等安全机制的限制,容器内root权限将变得与宿主机上的root权限无异
--net=host:容器将与宿主机处于同一网络命名空间(网络隔离被打破)
--pid=host:容器将与宿主机处于同一进程命名空间(进程隔离被打破)
--volume /:/host:宿主机根目录将被挂载到容器的内部(文件系统隔离被打破)
容器网络存在的风险:
CAP_NET_RAW权限具备构造并发送ICMP、ARP等报文的能力,容易发生ARP欺骗、DNS劫持等中间人攻击
边栏推荐
- 数据湖(十七):Flink与Iceberg整合DataStream API操作
- 20 soul chicken soup beautiful sentences, sentence by sentence warm heart!
- Talk about the speech synthesis function of Baidu University of science and technology news Feiyun Zhisheng
- [download file] uniapp develops small programs, downloads files and saves them locally
- golang gorm查询任意字段的组装方法
- 将Helm编写的Chart推送到Harbor仓库
- On weight decay and discarding method
- [uni app advanced practice] take you hand-in-hand to learn the development of a purely practical complex project 2/100
- 一键重装win7系统详细教程
- Redis内存回收
猜你喜欢

Redis persistence mechanism

Redis5种数据结构解析

max_ pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType

Comprehensive comparative study of image denoising

redis网络模型解析

Decision tree and random forest learning notes (1)

My approval of OA project (meeting inquiry & meeting signature)

Redis经典面试题总结

Acid characteristics of MySQL transactions and example analysis of concurrency problems

Thread Foundation
随机推荐
ThreadLocal usage scenario
动画(animation)
QML使用Layout布局时出现大量<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property循环绑定警告
响应式高端网站模板源码图库素材资源下载平台源码
工程电磁场复习基本知识点
Kubernetes -- Introduction
工程地质实习-工程地质 题集
Pytoch correlation gradient echo
酒店vr全景展示拍摄提供更多合作和洽谈的机会
Response to questions about the balanced beacon group of Hubei University of Arts and Sciences
SQL Server备份数据库的方法
Embedded sharing collection 22
Tungsten Fabric SDN — BGP as a Service
max_ pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType
Redis实现分布式锁
GNU General Public License v2.0 GNU General Public License
Four methods of closing forms in C #
Embedded database -- SQLite
QT official example: Fridge Magnets example
光年(Light Year Admin)后台管理系统模板