我正在尝试弄清Kubernetes。我射击以下命令:
kubectl get deployment
Run Code Online (Sandbox Code Playgroud)
我在输出中得到以下标题:
我无法在以下输出中找到current和available列之间的区别?
我知道官方文档对这些领域都有一个简短的描述,但是并不能回答我的以下问题:
Current<= Desired真的吗?Up-to-Date<= Current真的吗?Up-to-Date> Current和Up-to-Date<= Desired真的吗?Available始终<= Current,也可以是> Available?简而言之,所有这些字段之间是什么关系?
deployment kubernetes kubernetes-deployment kubernetes-cluster
假设我有一个这样的部署模板
spec:
minReadySeconds: 15
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 80
scheme: HTTP
initialDelaySeconds: 20
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 5
Run Code Online (Sandbox Code Playgroud)
这将如何影响我的应用程序的新版本?将minReadySeconds同时initialDelaySeconds计数吗?那么initialDelaySeconds会先来minReadySeconds吗?