Skip to content

Commit 5274773

Browse files
committed
update
1 parent c33505f commit 5274773

File tree

3 files changed

+167
-174
lines changed

3 files changed

+167
-174
lines changed

docs/deploy/k8s/service.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Service of k8s
3+
authors:
4+
- lkzwc
5+
- name: lkzwc
6+
title: lkzwc
7+
url: https://github.com/JoelMarcey
8+
image_url: https://github.com/JoelMarcey.png
9+
tags: [hello, docusaurus-v2]
10+
description: k8s中的service
11+
image: https://i.imgur.com/mErPwqL.png
12+
hide_table_of_contents: false
13+
---
14+
15+
## Service
16+
> 将一组POD通过一个IP暴露出来
17+
18+
```
19+
kubectl expose deploy my-dep --port=8000 --target-port=80. //暴露mydep 创建的pod
20+
```

0 commit comments

Comments
 (0)