I've been unable to get kiam working on a new kops managed Kubernetes 1.19 cluster. As best as I've been able to track things down so far the iptable tables rules being generated aren't matching traffic AWS credentials traffic.
The generated iptables rules:
> iptables -L -v -t nat
Chain PREROUTING (policy ACCEPT 16 packets, 1178 bytes)
pkts bytes target prot opt in out source destination
183 13680 KUBE-SERVICES all -- any any anywhere anywhere /* kubernetes service portals */
0 0 DNAT tcp -- ens5 any anywhere 169.254.169.254 tcp dpt:http to:10.100.13.131:8181
<snip>
I see zero pkts and bytes values despite AWS calls such as aws sts get-caller-identity or curl http://169.254.169.254/latest/meta-data/iam/info from within a test pod or directly on a worker VM. I've seen no activity in the agent logs other than error free bootup messages and pings. All auth error messages refer to the role assigned to the node instance.
The host IP and interface values look correct for the VM.
Am I heading down the right path? What would normal log activity be for successfully proxied traffic?
Thank you in advance for any help you're able to provide.
I've been unable to get kiam working on a new kops managed Kubernetes 1.19 cluster. As best as I've been able to track things down so far the iptable tables rules being generated aren't matching traffic AWS credentials traffic.
The generated iptables rules:
I see zero pkts and bytes values despite AWS calls such as
aws sts get-caller-identity
orcurl http://169.254.169.254/latest/meta-data/iam/info
from within a test pod or directly on a worker VM. I've seen no activity in the agent logs other than error free bootup messages and pings. All auth error messages refer to the role assigned to the node instance.The host IP and interface values look correct for the VM.
Am I heading down the right path? What would normal log activity be for successfully proxied traffic?
Thank you in advance for any help you're able to provide.
Agent Spec:
Annotated debugging pod
default
namespace is annotated as such: