简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
kubectl create secret docker-registry k8s-test-registry --docker-server=xxx.aliyuncs.com --docker-username=xxx --docker-password=xxx -n k8s-test
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:...
cat k8s-test-deploy.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: auth-server namespace: k8s-testspec: replicas: 1 selector: matchLabels: erp: k8s-test app: auth-s...
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...
cat k8s-test-namespace.yamlapiVersion: v1kind: Namespacemetadata: name: k8s-test部署kubectl apply -f k8s-test-namespace.yaml