檢視 Container Resources 的原始碼
←
Container Resources
跳至導覽
跳至搜尋
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
* '''cpu''' : One cpu, in Kubernetes, is equivalent to 1 vCPU/Core for cloud providers and 1 hyperthread on bare-metal Intel processors. : default quota period is 100ms. : minimum resolution of CPU quota is 1ms. : example: 0.1 = 100m * '''memory''' : Limits and requests for memory are measured in bytes. : express memory as a plain integer or as a fixed-point number using suffixes: E, P, T, G, M, K, or the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki. : example: 128974848 = 129e6 = 129M = 123Mi * '''ephemeral-storage''' : local ephemeral storage, backed by locally-attached writeable devices or, sometimes, by RAM. * Here's an example. apiVersion: v1 kind: Pod metadata: name: frontend spec: containers: - name: app image: images.my-company.example/app:v4 resources: requests: cpu: "250m" memory: "64Mi" ephemeral-storage: "2Gi" limits: cpu: "500m" memory: "128Mi" ephemeral-storage: "4Gi" ---- * Extended resources : non-Kubernetes-built-in resources. : Example: { "kind": "Policy", "apiVersion": "v1", "extenders": [ { "urlPrefix":"<extender-endpoint>", "bindVerb": "bind", "managedResources": [ { "name": "example.com/foo", "ignoredByScheduler": true } ] } ] } apiVersion: v1 kind: Pod metadata: name: my-pod spec: containers: - name: my-container image: myimage resources: requests: cpu: 2 example.com/foo: 1 limits: example.com/foo: 1 __NOTOC__ [[Category:Kubernetes]]
返回到「
Container Resources
」。
導覽選單
個人工具
登入
命名空間
頁面
討論
變體
視圖
閱讀
檢視原始碼
檢視歷史
更多
搜尋
導覽
首頁
工作、生活
網路、設備
資訊、技術
關於 Chevyne
近期變更
隨機頁面
MediaWiki說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊