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
* DefaultContainerRepositoryPasswordType (string) --- Supported starting with the 6.4 runtime
358
358
359
-
Here is an example of what you can add inside the `Hosting` section in the ClusterManifestTemplate.json file. For more information, see [Change Azure Service Fabric cluster settings](service-fabric-cluster-fabric-settings.md) and [Manage Azure Service Fabric application secrets](service-fabric-application-secret-management.md)
359
+
Here is an example of what you can add inside the `Hosting` section in the ClusterManifestTemplate.json file. The `Hosting` section can be added at cluster creation or later in a configuration upgrade. For more information, see [Change Azure Service Fabric cluster settings](service-fabric-cluster-fabric-settings.md) and [Manage Azure Service Fabric application secrets](service-fabric-application-secret-management.md)
360
360
361
361
```json
362
-
{
362
+
"fabricSettings": [
363
+
...,
364
+
{
363
365
"name": "Hosting",
364
366
"parameters": [
365
367
{
@@ -384,6 +386,7 @@ Here is an example of what you can add inside the `Hosting` section in the Clust
## Configure time interval before container is force terminated
618
621
619
-
You can configure a time interval for the runtime to wait before the container is removed after the service deletion (or a move to another node) has started. Configuring the time interval sends the `docker stop <time in seconds>` command to the container. For more detail, see [docker stop](https://docs.docker.com/engine/reference/commandline/stop/). The time interval to wait is specified under the `Hosting` section. The following cluster manifest snippet shows how to set the wait interval:
622
+
You can configure a time interval for the runtime to wait before the container is removed after the service deletion (or a move to another node) has started. Configuring the time interval sends the `docker stop <time in seconds>` command to the container. For more detail, see [docker stop](https://docs.docker.com/engine/reference/commandline/stop/). The time interval to wait is specified under the `Hosting` section. The `Hosting` section can be added at cluster creation or later in a configuration upgrade. The following cluster manifest snippet shows how to set the wait interval:
620
623
621
624
```json
622
-
{
625
+
"fabricSettings": [
626
+
...,
627
+
{
623
628
"name": "Hosting",
624
629
"parameters": [
625
630
{
@@ -628,7 +633,8 @@ You can configure a time interval for the runtime to wait before the container i
628
633
},
629
634
...
630
635
]
631
-
}
636
+
}
637
+
]
632
638
```
633
639
The default time interval is set to 10 seconds. Since this configuration is dynamic, a config only upgrade on the cluster updates the timeout.
634
640
@@ -639,7 +645,9 @@ You can configure the Service Fabric cluster to remove unused container images f
639
645
640
646
641
647
```json
642
-
{
648
+
"fabricSettings": [
649
+
...,
650
+
{
643
651
"name": "Hosting",
644
652
"parameters": [
645
653
{
@@ -653,7 +661,8 @@ You can configure the Service Fabric cluster to remove unused container images f
653
661
...
654
662
}
655
663
]
656
-
}
664
+
}
665
+
]
657
666
```
658
667
659
668
For images that shouldn't be deleted, you can specify them under the `ContainerImagesToSkip` parameter.
@@ -664,15 +673,18 @@ For images that shouldn't be deleted, you can specify them under the `ContainerI
664
673
The Service Fabric runtime allocates 20 minutes to download and extract container images, which work for the majority of container images. For large images, or when the network connection is slow, it might be necessary to increase the time to wait before aborting the image download and extraction. This time out is set using the **ContainerImageDownloadTimeout** attribute in the **Hosting** section of the cluster manifest as shown in the following snippet:
665
674
666
675
```json
667
-
{
676
+
"fabricSettings": [
677
+
...,
678
+
{
668
679
"name": "Hosting",
669
680
"parameters": [
670
681
{
671
682
"name": "ContainerImageDownloadTimeout",
672
683
"value": "1200"
673
684
}
674
685
]
675
-
}
686
+
}
687
+
]
676
688
```
677
689
678
690
@@ -693,16 +705,18 @@ With the 6.2 version of the Service Fabric runtime and greater, you can start th
0 commit comments