Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
YiRanCN committed May 11, 2024
1 parent b9194b2 commit b7173f4
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 192 deletions.
12 changes: 11 additions & 1 deletion docs/study/devops/Linux运维-常用.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,14 @@ pstree -a
```shell
fallocate -l 1G largefile
truncate -s 1G largefile
```
```

### ulimit

```shell
ulimit -a
ulimit -n
ulimit -u
```

- [csdn-ulimit命令详解:如何设置和查看系统资源限制](https://blog.csdn.net/llgde/article/details/133780294)
22 changes: 13 additions & 9 deletions docs/study/docker/Docker-swarm.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Docker Swarm

Docker Compose 是一个在单个服务器或主机上创建多个容器的工具

Docker Swarm 则可以在多个服务器或主机上创建容器集群服务,对于微服务的部署,显然 Docker Swarm 会更加适合。

### 基本架构图

![基本架构图](./imgs/swarm.png)
# Docker Swarm

Docker Compose 是一个在单个服务器或主机上创建多个容器的工具

Docker Swarm 则可以在多个服务器或主机上创建容器集群服务,对于微服务的部署,显然 Docker Swarm 会更加适合。

### 基本架构图

![基本架构图](./imgs/swarm.png)

### 参考

- [csdn-【Docker】Swarm学习](https://blog.csdn.net/al6nlee/article/details/130912842)
Loading

0 comments on commit b7173f4

Please sign in to comment.