摘要:
#函数装饰器 1、简单装饰器 def my_decorator(func): def wrapper(): print('wrapper of decorator') func() return wrapper def greet(): print('hello world') greet = my 阅读全文
摘要:
1、准备pvc也就是k8s容器的持久化存储 创建pv、pvc apiVersion: v1 kind: PersistentVolume metadata: name: pv-mysql-data namespace: db spec: capacity: storage: 5Gi accessMo 阅读全文