Resource governance

The ResourceGovernancePolicy element is used to restrict the resources consumed by a container on a host. The limits can be set for Memory, MemorySwap, CPUShares, MemoryReservationInMB, or BlkioWeight (bulk I/O weight). The following sample shows the use of ResourceGovernancePolicy element:

<ServiceManifestImport> 
<ServiceManifestRef ServiceManifestName="FrontendServicePackage" ServiceManifestVersion="1.0"/>
<Policies>
<ContainerHostPolicies CodePackageRef="FrontendService.Code">
<RepositoryCredentials AccountName="TestUser" Password="12345" PasswordEncrypted="false"/>
</ContainerHostPolicies>
</Policies>
</ServiceManifestImport>

The password specified in the RepositoryCredentials element should be encrypted using a certificate deployed on the machine.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.67.13