增加一些k8s的应用

This commit is contained in:
2022-07-04 18:22:30 +08:00
parent eadf98e33c
commit 994a5d4b1c
3 changed files with 67 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: zk-pdb
namespace: nginx
spec:
minAvailable: 2 #最小可用实例数量
maxUnavailable: 1 #最大不可用实例数量
selector:
matchLabels:
app: zookeeper