Removing Service Fabric applications

Service Fabric supports removing an application instance of a deployed application, removing the application itself, and clearing the application package from the image store for permanent deletion.

Following are the steps to be performed to completely remove the application from a Service Fabric cluster:

  1. Removing application instances: The following cmdlet can be used to remove application instances:
      Remove-ServiceFabricApplication fabric:/<Application name>
  1. Unregistering the application: The Unregister-ServiceFabricApplicationType cmdlet can be used to unregister an application type. Following is the usage:
      Unregister-ServiceFabricApplicationType <Application name> 
<version number>
  1. Removing the application package: The Remove-ServiceFabricApplicationPackage cmdlet can be used to remove an application package from the image store:
      Remove-ServiceFabricApplicationPackage 
-ImageStoreConnectionString file:<Image store path>
-ApplicationPackagePathInImageStore <Application Name>
..................Content has been hidden....................

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