Skip to content

Commit 6424ce3

Browse files
committed
[ja] Translated docs/reference/glossary/duration.md into Japanese
1 parent 13d9b63 commit 6424ce3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: 期間(Duration)
3+
id: duration
4+
date: 2024-10-05
5+
full_link:
6+
short_description: >
7+
時間の長さを表す文字列値です。
8+
tags:
9+
- fundamental
10+
---
11+
時間の長さを表す文字列値です。
12+
13+
<!--more-->
14+
15+
Kubernetesにおける期間のフォーマットは、Goプログラミング言語の[`time.Duration`](https://pkg.go.dev/time#Duration)型に基づいています。
16+
17+
期間を使用するKubernetes APIでは、値は非負整数と時間単位のサフィックスを組み合わせた一連の値として表現されます。複数の時間量を指定でき、期間はそれらの時間量の合計となります。
18+
有効な時間単位は「ns」、「µs」(または「us」)、「ms」、「s」、「m」、「h」です。
19+
20+
例: `5s`は5秒の期間を表し、`1m30s`は1分30秒の期間を表します。

0 commit comments

Comments
 (0)