参考文档: https://blog.csdn.net/lihongbao80/article/details/103602684 https://blog.csdn.net/muguazhi/article/details/132455056 新建k8s部署redis的配置文件 内容如下: 1apiVersion: v1 2kind: Namespace 3metadata: 4 name: redis-dev 5--- 6apiVersion: apps/v1 7kind: Deployment 8metadata: 9 name: redis-deploy 10 namespace: redis-dev 11 labels:...
参考文档: https://www.jb51.net/article/275999.htm https://www.jb51.net/article/276003.htm https://blog.csdn.net/sebeefe/article/details/124473706 https://blog.csdn.net/jiaohuizhuang6019/article/details/134499235 https://www.zhihu.com/question/448458021/answer/2870967376 https://zhuanlan.zhihu.com/p/445316238...
Helm 是 Kubernetes 的包管理器 下载地址:https://get.helm.sh/helm-v3.7.1-linux-amd64.tar.gz Helm 和 Kubernetes 的版本对应关系请查看:https://helm.sh/zh/docs/topics/version_skew/ 下载后解压,并配置环境变量即完成安装。 查看helm版本 1[root@node1 ~]# helm version 2version.BuildInfo{Version:"v3.7.1", GitCommit:"1d11fcb5d3f3bf00dbe6fe31b8412839a96b3dc4",...
pod访问其他namespace中的服务 参考文档:https://blog.csdn.net/yujia_666/article/details/114104791 通过Service的ExternalName类型即可实现跨namespace名称空间与Service通信。 例如:namespace=smartbrain 中的pod,要访问namespace=test中的service=whoami-service服务 在namespace=smartbrain中创建如下服务: 1apiVersion: v1 2kind: Service 3metadata: 4 name:...
文档: https://www.runoob.com/docker/macos-docker-install.html docker 下载地址:https://download.docker.com/mac/stable/Docker.dmg 下载完成后,直接打开安装。 镜像加速 鉴于国内网络问题,后续拉取 Docker 镜像十分缓慢,我们可以配置国内镜像来解决; 修改 ~/.docker/daemon.json 文件,在文件中加入key 为 registry-mirrors 的键值对,如下所示: 1{ 2 "experimental" : false, 3 "features" : { 4 "buildkit" : true 5...
参考文档: https://blog.csdn.net/weixin_39246554/article/details/129334116 https://zhuanlan.zhihu.com/p/555130712?utm_id=0 https://blog.csdn.net/star_apple/article/details/124215035 直接安装: minikube addons enable ingress 注意minikube版本需要>=1.23,早期版本的docker版ingress运行有bug 然后安装一直报错,估计是镜像的问题: 1[zhangcong@master ~]$ kubectl get pods...
参考文档: https://www.minio.org.cn/docs/minio/kubernetes/upstream/index.html https://anqixiang.blog.csdn.net/article/details/127228195 https://blog.csdn.net/baidu_35848778/article/details/131436354 https://blog.csdn.net/weixin_41957626/article/details/134842954 https://blog.csdn.net/qq_44209563/article/details/134801099...
sudo groupadd docker #添加docker用户组 sudo gpasswd -a zhangcong docker #检测用户zhangcong是否已经在docker用户组中,如是当前用户,可以用$USER表示 newgrp docker #更新docker用户组 docker pull bestwu/qq docker run -d –name qq –device /dev/snd –ipc=host -v $HOME/TencentFiles:/TencentFiles -v /tmp/.X11-unix:/tmp/.X11-unix -e XMODIFIERS=@im=ibus -e...
文档 docker: https://blog.csdn.net/weixin_43834401/article/details/122289776 k8s: https://www.cnblogs.com/yy690486439/p/13596947.html https://cloud.tencent.com/developer/article/1854101 Docker 安装和配置 1# 卸载可能存在的旧版本(因为docker的旧版本不一定被称为docker,docker.io 或 docker-engine 也有可能) 2zhangcong@lenovo-e47-1no6e7d:~$ sudo apt-get...
参考文档: https://www.cnblogs.com/ivictor/p/4834864.html https://www.cnblogs.com/zeppelin/p/5919716.html