kubernetes - unable to connect to public internet when injecting istio proxyistio envoy - Stack Overflow

i have an EKS cluster version 1.30 running on which i have installed istio-base, istiod, istio-ingressg

i have an EKS cluster version 1.30 running on which i have installed istio-base, istiod, istio-ingressgateway using terraform helm resource.I have not installed egress gateway. It is all fine untill i inject the istio envoy proxy to the application pods. At that time i am unable to reach public internet. Even nslookup fails. and yes on my VPC settings both Enable DNS hostnames and Enable DNS resolution are enabled. I am attaching errors below which i encountered for resolving an s3 bucket, as you can see the domain name is pointing to es.amazonaws in output.

i also have a basic alpine pod that installs certain packages in bootup(pod yaml below). this also crashes as the packages do not get instaled.

apiVersion: v1
kind: Pod
metadata:
  labels:
    run: alpine
  name: alpine
spec:
  containers:
  - image: alpine
    name: alpine
    command: ["sh","-c","apk update && apk add aws-cli &&  apk add mysql-client && apk add openssh && sleep 365d" ]
    resources: {}
  dnsPolicy: ClusterFirst
  restartPolicy: Always
status: {}

how can i fix this issue, really appreciate the help.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743768522a4503943.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信