Azure service fabric cluster on windows container deployment on server 2016

Rahul Sharma 1 Reputation point
2020-07-31T00:09:40.947+00:00

Hello,

I am doing a POC on service fabric and fairly new to this technology. I know Docker swarm and kubernetes and kind of looking for the similar feature in service fabric. Following are my questions -

  1. Can I run 2 node cluster on premise on windows server 2016 platform?
  2. HOw can i deploy windows docker container using service fabric, I do not want to use Visual studio 2019 but something like Kubectl or docker service create? I know about sfctl and yeoman but not sure if they will work on windows cluster?
  3. Is there terraform support available, can I deploy containers using terraform on Azure service fabric cluster?

Thanks in advance!!

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
257 questions
{count} votes

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee
    2020-08-03T06:56:09.273+00:00

    @Rahul Sharma Apologies for the delay in response and all the inconvenience caused because of the issue.

    Coming to your queries below are the answers for same:

    1)Can I run 2 node cluster on premise on windows server 2016 platform?

    A cluster in production should span at least three FDs in order to be supported in a production environment, if you have full control over the maintenance and management of the nodes, that is, you are responsible for updating and replacing machines. For clusters running in environments (that is, Amazon Web Services VM instances) where you do not have full control over the machines, you should have a minimum of five FDs in your cluster. Each FD can have one or more nodes. This is to prevent issues caused by machine upgrades and updates, which depending on their timing, can interfere with the running of applications and services in clusters.You can read more about it here.

    2)How can i deploy windows docker container using service fabric, I do not want to use Visual studio 2019 but something like Kubectl or docker service create? I know about sfctl and yeoman but not sure if they will work on windows cluster?

    Yes sfctl will work on windows cluster. You can read more about it here

    3)Is there terraform support available, can I deploy containers using terraform on Azure service fabric cluster?

    I can't comment on terraform support part since the Terraform team will be better to comment on that but yes you can deploy Azure Service Fabric Cluster using Terraform. Step by step documentation for same can be found here.

    Hope it helps.

    Do let me know in case of any further queries.

    If the suggested response helped you resolve your issue, do click on "Mark as Answer" and "Up-Vote" for the answer that helped you for benefit of the community.

    0 comments No comments