website/content/zh-cn/docs/reference/glossary/duration.md

954 B
Raw Blame History

title id date full_link short_description aka tags
Duration duration 2024-10-05 以字符串形式指定的时间间隔,格式符合 Go 语言的 [time.Duration](https://pkg.go.dev/time) 允许使用秒、分钟和小时等不同单位灵活地指定时间。
fundamental

在 Kubernetes API 中duration 必须是非负的,通常带有后缀单位。 例如,5s 表示五秒,1m30s 表示一分三十秒。