You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Created Created container with docker id 5ced34a04634; Security:[seccomp=unconfined]
316
-
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Started Started container with docker id 5ced34a04634
317
+
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Created Created container init-myservice
318
+
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Started Started container init-myservice
317
319
```
318
320
319
321
<!--
@@ -367,10 +369,12 @@ To create the `mydb` and `myservice` services:
367
369
```shell
368
370
kubectl apply -f services.yaml
369
371
```
372
+
370
373
<!--
371
374
The output is similar to this:
372
375
-->
373
376
输出类似于:
377
+
374
378
```
375
379
service/myservice created
376
380
service/mydb created
@@ -388,7 +392,9 @@ kubectl get -f myapp.yaml
388
392
<!--
389
393
The output is similar to this:
390
394
-->
395
+
391
396
输出类似于:
397
+
392
398
```
393
399
NAME READY STATUS RESTARTS AGE
394
400
myapp-pod 1/1 Running 0 9m
@@ -500,24 +506,21 @@ for resource usage apply:
500
506
* The Pod's *effective request/limit* for a resource is the higher of:
501
507
* the sum of all app containers request/limit for a resource
502
508
* the effective init request/limit for a resource
509
+
* Scheduling is done based on effective requests/limits, which means
510
+
init containers can reserve resources for initialization that are not used
511
+
during the life of the Pod.
512
+
* The QoS (quality of service) tier of the Pod's *effective QoS tier* is the
513
+
QoS tier for init containers and app containers alike.
503
514
-->
504
515
* 所有 Init 容器上定义的任何特定资源的 limit 或 request 的最大值,作为
505
516
Pod **有效初始 request/limit**。
506
517
如果任何资源没有指定资源限制,这被视为最高限制。
507
518
* Pod 对资源的 **有效 limit/request** 是如下两者中的较大者:
508
519
* 所有应用容器对某个资源的 limit/request 之和
509
520
* 对某个资源的有效初始 limit/request
510
-
511
-
<!--
512
-
* Scheduling is done based on effective requests/limits, which means
513
-
init containers can reserve resources for initialization that are not used
514
-
during the life of the Pod.
515
-
* The QoS (quality of service) tier of the Pod's *effective QoS tier* is the
516
-
QoS tier for init containers and app containers alike.
0 commit comments