- 博客(5)
- 收藏
- 关注
转载 k8s创建 私有仓库 secret
kubectl create secret docker-registry k8s-test-registry --docker-server=xxx.aliyuncs.com --docker-username=xxx --docker-password=xxx -n k8s-test
2019-06-29 18:13:44 682
转载 k8s 通过yaml文件创建service
cat k8s-test-server-svc.yamlapiVersion: v1kind: Servicemetadata: name: k8s-test-server-svc namespace: k8s-testspec: type: NodePort selector: erp: k8s-test app: auth-server ports:...
2019-06-29 18:08:43 846
转载 k8s通过yaml 文件创建保密字典
cat k8s-test-secret.yamlapiVersion: v1kind: Secretmetadata: name: k8s-test-secret namespace: k8s-testtype: OpaquestringData: redis_host: "127.0.0.1" redis_password: "123456" redis_port...
2019-06-29 18:04:46 1446
转载 k8s 通过 yaml 文件创建 deployment
cat k8s-test-deploy.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: auth-server namespace: k8s-testspec: replicas: 1 selector: matchLabels: erp: k8s-test app: auth-s...
2019-06-29 18:00:25 906
转载 k8s 通过 yaml 文件创建 namespace
cat k8s-test-namespace.yamlapiVersion: v1kind: Namespacemetadata: name: k8s-test部署kubectl apply -f k8s-test-namespace.yaml
2019-06-29 17:53:59 3433
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人