Jeremy Cowan
Jeremy Cowan
Thanks @hjacobs. I added a section to my code so I could test it locally instead of running in the cluster.
That's great news. Thanks for the update!
Adding 127.0.0.1 to the URL `--liveness=http://127.0.0.1:8080/healthz` seems to fix it, however, now the probe is failing with the following error: ```Liveness probe failed: Get http://172.16.3.199:8080/healthz: dial tcp 172.16.3.199:8080: connect: connection...
@jc2k, yes. Health checks are performed by the Kubelet. Changing the IP to 0.0.0.0 fixed the issue. Thanks! The documentation for kopf should be updated to reflect that.
When I moved the variable declarations out of the handler, it worked. I wanted to do it as part of the setup handler; I'm using the HTTP request library to...
@nolar I will have to move the code back to the startup handler to get the trace. It basically said that the region was not set when it when I...
@Parsifal-M On EKS you could use IAM Roles for Service Accounts (IRSA). A webhook running in the EKS cluster will add the following environment variables: ``` AWS_ROLE_ARN=arn:aws:iam::111122223333:role/iam-role-name AWS_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/eks.amazonaws.com/serviceaccount/token ``` to...
This may help too, https://blog.jimmyray.io/kubernetes-workload-identity-with-aws-sdk-for-go-v2-927d2f258057
@Parsifal-M AWS has a pretty generous free tier, but if you have issues getting access to an AWS account, please let me know.
you could use this instead, https://blog.postmates.com/configurable-horizontal-pod-autoscaler-81f48779abfc