Skip to content

Commit

Permalink
Add “duration” to glossary (#48208)
Browse files Browse the repository at this point in the history
* feature: add duration in glossary

* fix: Changes according to style guide

* fix: Add missing full stop
  • Loading branch information
abhilasha2418 authored Oct 6, 2024
1 parent 0f0ee83 commit c39e485
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/en/docs/reference/glossary/duration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Duration
id: duration
date: 2024-10-05
full_link:
short_description: >
A time interval specified as a string in the format accepted by Go's [time.Duration](https://pkg.go.dev/time), allowing for flexible time specifications using various units like seconds, minutes, and hours.
aka:
tags:
- fundamental
---
In Kubernetes APIs, a duration must be non-negative and is typically expressed with a suffix.
For example, `5s` for five seconds or `1m30s` for one minute and thirty seconds.

0 comments on commit c39e485

Please sign in to comment.