แก้ไข

แชร์ผ่าน


Service Fabric application and service manifest examples

This section contains examples of application and service manifests. These examples are not meant to show important scenarios, but to show the different settings that are available and how to use them.

The following is an index of the features shown and the example manifest(s) they're a part of.

Feature Manifest
Resource governance Reliable Services Application manifest, Container Application manifest
Run a service as a local admin account Reliable Services Application manifest
Apply a default policy to all service code packages Reliable Services Application manifest
Create user and group principals Reliable Services Application manifest
share a data package between service instances Reliable Services Application manifest
Override service endpoints Reliable Services Application manifest
Run a script at service startup VotingWeb service manifest
Define an HTTPS endpoint VotingWeb service manifest
Declare a config package VotingData service manifest
Declare a data package VotingData service manifest
Override environment variables Container Application manifest
Configure container port-to-host mapping Container Application manifest
Configure container registry authentication Container Application manifest
Set isolation mode Container Application manifest
Specify OS build-specific container images Container Application manifest
Set environment variables Container FrontEndService service manifest, Container BackEndService service manifest
Configure an endpoint Container FrontEndService service manifest, Container BackEndService service manifest, VotingData service manifest
pass commands to the container Container FrontEndService service manifest
Import a certificate into a container Container FrontEndService service manifest
Configure volume driver Container BackEndService service manifest