Azure CLI (az) and Azure Service Fabric CLI (sfctl) Samples

The following table includes links to samples on how to manage Service Fabric clusters, applications, and services.


There are two CLI utilities used to interact with Service Fabric. Azure CLI is used to manage Azure resources, such as an Azure-hosted Service Fabric cluster. Service Fabric CLI is used to directly connect to the Service Fabric cluster (regardless of where it's hosted) and manage the cluster, applications, and services.

Sample Description
Create cluster (with Azure CLI)
Create a secure Linux cluster Creates an Azure Service Fabric cluster.
Manage applications (with Service Fabric CLI)
List applications List applications provisioned to a cluster.
Deploy an application Deploy an application to a cluster.
Remove an application Remove an application from a cluster.
Upgrade an application Upgrade an already deployed application.