Usage of /usr/bin/kube2iam: --api-server string Endpoint for the api server --api-token string Token to authenticate with the api server --app-port string Kube2iam server http port (default "8181") --auto-discover-base-arn Queries EC2 Metadata to determine the base ARN --auto-discover-default-role Queries EC2 Metadata to determine the default Iam Role and base ARN, cannot be used with --default-role, overwrites any previous setting for --base-role-arn --backoff-max-elapsed-time duration Max elapsed time for backoff when querying for role. (default 2s) --backoff-max-interval duration Max interval for backoff when querying for role. (default 1s) --base-role-arn string Base role ARN --cache-resync-period duration Kubernetes caches resync period (default 30m0s) --debug Enable debug features --default-role string Fallback role to use when annotation is not set --host-interface string Host interface for proxying AWS metadata (default "docker0") --host-ip string IP address of host --iam-external-id string Pod annotation key used to retrieve the IAM ExternalId (default "iam.amazonaws.com/external-id") --iam-role-error-ttl duration TTL for caching assume role errors --iam-role-key string Pod annotation key used to retrieve the IAM role (default "iam.amazonaws.com/role") --iam-role-session-ttl duration TTL for the assume role session (default 15m0s) --insecure Kubernetes server should be accessed without verifying the TLS. Testing only --iptables Add iptables rule (also requires --host-ip) --kubeconfig string Path to kubeconfig --log-format string Log format (text/json) (default "text") --log-level string Log level (default "info") --metadata-addr string Address for the ec2 metadata (default "169.254.169.254") --metrics-port string Metrics server http port (default: same as kube2iam server port) (default "8181") --namespace-key string Namespace annotation key used to retrieve the IAM roles allowed (value in annotation should be json array) (default "iam.amazonaws.com/allowed-roles") --namespace-restriction-format string Namespace Restriction Format (glob/regexp) (default "glob") --namespace-restrictions Enable namespace restrictions --node string Name of the node where kube2iam is running --resolve-duplicate-cache-ips Queries the k8s api server to find the source of truth when the pod cache contains multiple pods with the same IP --use-regional-sts-endpoint use the regional sts endpoint if AWS_REGION is set --verbose Verbose --version Print the version and exits