Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out Injection of Envoy SideCars with current Pods #31

Open
AnshulV98 opened this issue Apr 20, 2020 · 4 comments
Open

Figure out Injection of Envoy SideCars with current Pods #31

AnshulV98 opened this issue Apr 20, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@AnshulV98
Copy link
Contributor

As Istio has been installed on Jetsream instance, it has been setup with the default namespace with auto envoy sidecar injection mode enabled such that, whenever a pod is re/deployed or re/started it would be injected with an Envoy sidecar

@AnshulV98
Copy link
Contributor Author

The current issue is if you run

istioctl analyze

you get this result

Warn [IST0103] (Pod rabbitmq-controller-fm5rz.default) The pod is missing the Istio proxy. This can often be resolved by restarting or redeploying the workload.
Info [IST0118] (Service apigateway.default) Port name  (port: 8090, targetPort: 8090) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service dataretrival.default) Port name  (port: 5001, targetPort: 5001) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service frontend.default) Port name  (port: 3000, targetPort: 3000) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service modelanalysis.default) Port name  (port: 5005, targetPort: 5005) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service modelexecution.default) Port name  (port: 5003, targetPort: 5003) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service rabbitmq-service.default) Port name  (port: 5672, targetPort: 5672) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service sessionmanagement.default) Port name  (port: 7000, targetPort: 7000) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service usermanagement.default) Port name  (port: 5000, targetPort: 5000) doesn't follow the naming convention of Istio port.
Error: Analyzers found issues when analyzing namespace: default.
See https://istio.io/docs/reference/config/analysis for more information about causes and resolutions.

@AnshulV98
Copy link
Contributor Author

A possible solution for this could be to edit all the YAML files and enter a name: field inside the port: fields to name every port this could possibly resolve this issue

@ViralPrajapati
Copy link
Contributor

Even that might not solve the problem because the issue seems to be with the LodeBalancer type which we are currently using instead of NodePort type for the services.

@ViralPrajapati
Copy link
Contributor

Automatic sidecar injection is working perfectly, the only reason we were not able to access kiali dashboard was istio services are by default of type Loadbalancer, which needed to be changed to NodePort in the yaml file.
2dab87c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants