Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
coolliu committed Aug 8, 2021
1 parent 252bff0 commit 7e93a2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
@@ -1 +1,4 @@
# k8s-depoloy-apps

## storage_class
使用nfs做storage class。使用前先修改storage_class.yaml文件中nfs的ip、共享文件夹路径
3 changes: 2 additions & 1 deletion redis.yaml
@@ -1,3 +1,4 @@
# 使用storage class创建pvc
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
Expand Down Expand Up @@ -45,7 +46,7 @@ metadata:
spec:
ports:
- name: port
port: 80
port: 6379
targetPort: redis-port
selector:
app: redis

0 comments on commit 7e93a2d

Please sign in to comment.