Troubleshooting

Issue Resolution
While running a Flogo application on a pod or running it as a Kubernetes service, the following error is displayed.
Can not start application
due to permission issue with current task role. Below policy must
be configured for the task IAM role.
{
  "Version":"2012-10-17",
"Statement":[
     {
        "Action":[
           "aws-marketplace:RegisterUsage"
        ],
        "Effect":"Allow",
        "Resource":"*"
     }
  ]
}
Make sure you have created a policy with the specified JSON and attached the policy to the Kubernetes service account as described in step # 5 of section "Deploying a Flogo App on AWS EKS.

While running the kubectl get pods or kubectl get svc commands, the following error is displayed.

You must be
logged in to the server (Unauthorized)

Make sure the kubeconfig configuration file is created at the default kubeconfig path (.kube/config ) in the home directory and it has user information in it.

For more troubleshooting information, see the Amazon EKS Documentation.