-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Environment summary
Provider - Farget
Version - Latest 18adde2aca4ebe72aee1c0320e9affad218e1933
K8s Master Info - Cluster created with Kops on AWS
Install Method (e.g. Helm Chart, ) Manually. Referred steps in https://aws.amazon.com/blogs/opensource/aws-fargate-virtual-kubelet/
Issue Details
I am trying to run a pod which uses in cluster configuration to create k8s go client. All of details are mentioned in pod spec, but looks like aws farget provider totally ignores that service account is mentioned in pod run. It just parses pod spec.containers
I get following error in pod log,
2018/05/03 01:50:11 Error making fetcher: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
Repro Steps
Try to run kubernetes client-go example,
https://github.com/kubernetes/client-go/tree/master/examples/in-cluster-client-configuration
Metadata
Metadata
Assignees
Labels
No labels