k8s操作手册 2.3
/etc/kubernetes/admin.conf ~/.kube/config # chown $(id -u):$(id -g) ~/.kube/config # kubectl get pod --all-namespaces #查看容器运行状态 如果有2个coredns的pod未启动就绪,因为pod网络组件还未部署,部署后再查 看;如果部署网 这行往下第2行的mode: "",在""里写入ipvs, 保存退出 (要求在做准备工作时已加载ipvs内核模块) 再删除kube-proxy的所有pod(即重启这些pod) # kubectl get pod -n kube-system | grep kube-proxy #查看名为kube-proxy*的 pod # kubectl -n kube-system delete interface E0430 11:16:34.506062 1 main.go:204] Failed to find any valid interface to use: failed to get default interface: Unable to find default route 原因是没有找到有效的网卡,因为默认没有在kube-flannel.yml指定vxlan使用的 底层网络接口,所以它根据ip0 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
edu.cn/simple ★python2.7安装pip命令 # curl h�ps://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py # python2 get-pip.py Installing collected packages: pip, setuptools, wheel Successfully installed remote_file_path = 'anaconda-ks.cfg' local_file_path = 'D:\\tmp\\anaconda-ks.cfg' sftp.get(remote_file_path, local_file_path) except FileNotFoundError as e: print(f"File Not Found Error: 按下Shi�键同时点击鼠标右键,在此处打开PowerShell窗口 cmd> pip3 install requests #使用 import requests response = requests.get("http://sysyear.top:4600") print(type(response.text)) # 类型为str response.encoding = "utf-8"0 码力 | 213 页 | 3.53 MB | 1 年前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
features that we don’t actually use. It resists change—we can’t even change it ourselves, but have to get the vendor to change it. Our IT Skills Asset also becomes less flexible when we acquire an off-the-shelf use them correctly, enable a fast try-and-learn cycle in which developers can produce something, get feedback, and then adjust what they have produced. As a result, the code can be developed in a user-centric actual delivery. The more advance planning we do, the longer it takes to get a product to market; the longer it takes to get a product to market, the more risk we assume. our governance decisions0 码力 | 7 页 | 387.61 KB | 5 月前3The DevOps Handbook
servers like pets: “You name them and when they get sick, you nurse them back tohealth. [Now] servers are [treated] like cattle. You number them and when they get sick, you shoot them.” iii. Ensure consistency PULL THE ANDON CORD i. If not, it becomes increasing difficult to get back to a deployable state ii. If not, undoes the work done to get to a known workable state 4. Ch. 11 Enable and Practice Continuous0 码力 | 8 页 | 23.08 KB | 5 月前3Redis操作手册
Centos123 #-h指定服务器地 址, # -p指定端口,-a指定密码 10.99.1.51:6379> config get dbfilename 1) "dbfilename" 2) "dump.rdb" 10.99.1.51:6379> config get requirepass 1) "requirepass" 2) "Centos123" 10.99.1.51:6379> info #查看所有的key 1) "what" 2) "namexx" 3) "keyxx" 10.99.1.51:6379> 10.99.1.51:6379> get keyxx #查看指定key对应的值 "valuexx" ★可视化客户端工具 官网: h�ps://redis.com/redis-0 码力 | 5 页 | 80.37 KB | 1 年前3The Phoenix Project
in a change request, they have to wait a lifetime to get approvals, let alone get on the schedule. We have the business breathing down our neck to get crap done. We can’t wait for you to hem and haw, complaining0 码力 | 3 页 | 154.45 KB | 5 月前3DevOps Meetup
Left development because I was frustrated that it took so much time to get my products into production. Thought I would get over there fix “their” problems. Discovered, multiple teams involved0 码力 | 2 页 | 246.04 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
product. Management for the sake of management is not respected. Get things done: The hierarchy must be flattened. Layers of management get in the way of goals. The employee wants the shortest possible0 码力 | 7 页 | 387.48 KB | 5 月前3Pomodoro Technique
conversations • No meetings • No eating • No preening How does it work? 1. Choose a task you’d like to get done 2. Set the Pomodoro for 25 minutes 3. Work on the task until the Pomodoro rings 4. When the0 码力 | 3 页 | 289.16 KB | 5 月前3The DevOps Handbook
and well-defined interfaces k. KEEP TEAM SIZES SMALL (THE “2-PIZZA TEAM” RULE) 10. Ch. 8 How to Get Great Outcomes by Integrating Operations into the daily Work of Development a. CREATE SHARED SERVICES0 码力 | 8 页 | 22.57 KB | 5 月前3
共 11 条
- 1
- 2