摘要: 方法1: 方法一: In [1]: str="dfadDFAfadfefFDs2e3rDFDFDFd3f" In [2]: print({i:str.count(i) for i in str}) {'d': 4, 'f': 5, 'a': 2, 'D': 5, 'F': 5, 'A': 1, 'e 阅读全文
posted @ 2022-03-02 15:04 忙碌在路上 阅读(62) 评论(0) 推荐(0) 编辑
摘要: kubectl create deployment nginx --image=nginx:1.20 -o yaml --dry-run=client > my-deployment.yaml cat my-deployment.yaml apiVersion: apps/v1 kind: Depl 阅读全文
posted @ 2022-03-02 14:54 忙碌在路上 阅读(61) 评论(0) 推荐(0) 编辑