Skip to content
You are viewing the documentation for Solo Enterprise for Istio, formerly known as Gloo Mesh (OSS APIs).

istioctl ecs add-service

Page as Markdown

Reference for the istioctl ecs add-service command.

istioctl ecs add-service

Enroll Amazon ECS workloads into your ambient mesh.

istioctl ecs add-service [flags]

Examples

  # Enroll the 'demo' service in the 'my-ecs-cluster' ECS cluster into your ambient mesh.
  # Once enrolled, the service is reachable through the 'demo.hello-world.ecs.local' hostname.
  istioctl ecs add-service demo --cluster my-ecs-cluster --namespace hello-world

Options

      --cluster string              The ECS cluster name.
      -h, --help                    help for add-service
      -p, --platform string         The ECS runtime platform you want to use. Supported values: [ecs, ecs-ec2] (default "ecs")
      -s, --service-account string  The Kubernetes service account in the namespace that the ECS service runs as. The service account is associated with the task execution role of the ECS service. (default "default")

Options inherited from parent commands

      --as string                  Username to impersonate for the operation. User could be a regular user or a service account in a namespace
      --as-group stringArray       Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --as-uid string              UID to impersonate for the operation.
      --context string             Kubernetes configuration context
      -i, --istioNamespace string  Istio system namespace (default "istio-system")
      --kubeclient-timeout string  Kubernetes client timeout as a time.Duration string, defaults to 15 seconds. (default "15s")
      -c, --kubeconfig string      Kubernetes configuration file
      -n, --namespace string       Kubernetes namespace
      --out string                 output directory (default "/tmp/istioctl-cli-docs/1.27")