Canot access to sidecar container in Kubernetes
If you created the deployment alb-ingress-controller
and the service alb-ingress-controller-service
in another namespace, you need to create another ingress resource in the exact namespace.
apiVersion: extensions/v1beta1kind: Ingressmetadata:name: test-albnamespace: alb-namespaceannotations: alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80,"HTTPS": 443}]' alb.ingress.kubernetes.io/subnets: AAA alb.ingress.kubernetes.io/security-groups: AAAlabels: app: alb-servicespec:rules:- http: paths: - path: /alb-sidecar backend: serviceName: alb-ingress-controller-service servicePort: 80