github.com/kolanos/fargate@v0.2.3/cmd/service.go (about)

     1  package cmd
     2  
     3  import (
     4  	"github.com/spf13/cobra"
     5  )
     6  
     7  const serviceLogGroupFormat = "/fargate/service/%s"
     8  
     9  var serviceCmd = &cobra.Command{
    10  	Use:   "service",
    11  	Short: "Manage services",
    12  	Long: `Manage services
    13  
    14  Services manage long-lived instances of your containers that are run on AWS
    15  Fargate. If your container exits for any reason, the service scheduler will
    16  restart your containers and ensure your service has the desired number of
    17  tasks running. Services can be used in concert with a load balancer to
    18  distribute traffic amongst the tasks in your service.`,
    19  }
    20  
    21  func init() {
    22  	rootCmd.AddCommand(serviceCmd)
    23  }