摘要:
服务是一种为一组功能相同的pod提供单一不变的接入点的资源,当服务存在时,他的IP地址和端口不会变. `apiVersion: v1 kind: Service metadata: name: kubia spec: ports: port: 80 targetPort: 8080 selector 阅读全文
摘要:
在每个节点上创建一个pod(守护进程) apiVersion: apps/v1 kind: DaemonSet metadata: name: ssd-monitor spec: selector: matchLabels: app: ssd-monitor template: metadata: 阅读全文
摘要:
RC(ReplicationController)的三个部分 label selector 标签选择器 replica count 副本个数 pod template pod 模板 RC的好处 确保pod持续运行 pod的水平收缩 kubectl edit rc kubia //修改Replicat 阅读全文
摘要:
探活指针(liveness probe) 1 http get 2 尝试与容器指定端口建立tcp链接 3 exec 指针在容器内执行任意命令 `apiVersion: v1 kind: Pod metadata: name: "kubia-liveness" spec: containers: na 阅读全文
摘要:
kubectl create -f .\kubia-manual.yaml `apiVersion: v1 kind: Pod metadata: name: "kubia-manual" spec: containers: name: kubia image: "luksa/kubia" port 阅读全文
摘要:
安装minikube。配置环境Path系统环境变量 下载kubectl.exe。 配置环境Path系统环境变量 启动docker desktop 执行minikube start 阅读全文
摘要:
复制 C:\Users\Administrator\Anaconda3\pkgs\qt-5.12.5-h7ef1ec2_0\Library\plugins\platforms的文件到dert目录 阅读全文
摘要:
def tag(name, *content, cls=None, **attrs): if cls is not None: attrs['class'] = cls if attrs: attr_str = ''.join(' %s="%s"' % (attr,value ) for attr, 阅读全文
摘要:
deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http://mirrors.aliyun.com/ubuntu/ xenial-u 阅读全文