Learn which Pods you must restart manually after the Istio module's update.
After the Istio module’s update, the Istio custom resource (CR) is in the Warning state, and mesh connectivity is disrupted. When you click on the warning in Kyma dashboard or run kubectl get istio default -n kyma-system -o jsonpath='{.status.description}', you get the following message:
Some Pods with Istio sidecar injection failed to restart. To learn more about the warning, see kyma-system/istio-controller-manager logs: Istio Controller could not restart one or more Istio-injected Pods.
The sidecar version in Pods must match the installed Istio version to ensure proper mesh connectivity. During an upgrade of the Istio module to a new version, Istio Operator’s ProxySidecarReconcilation component performs a rollout for most common workload types ensuring that the injected Istio sidecar proxies are updated correctly. However, if a resource is a Job, a ReplicaSet that is not managed by any Deployment, or a Pod that is not managed by any other resource, the restart cannot be performed automatically.
You must manually restart such workloads to ensure proper functionality with the updated Istio version.
-
Choose Modify Modules.
-
Select the Istio module.
The
ProxySidecarRestartSucceededreconciliation condition has the statusFalseand the reason:ProxySidecarManualRestartRequired. The message contains the list of workloads that you must restart manually, for example:The sidecars of the following workloads could not be restarted: test/httpbin -
Restart the listed workloads so that new Istio sidecars are injected into the Pods.
The method for restarting resources varies depending on your specific use case. For standalone resources, one approach is to modify the configuration of the running Pod to initiate a restart and then revert it back to the previous configuration. Since restart issues might also be application-specific, it’s recommended that you check your application’s logs for more insights.
-
To get the Istio CR, run:
kubectl get istio default -n kyma-system -o yaml -
To learn if any Pods or workloads require a manual restart, see the message in the
status.conditionssection of the Istio CR, for example:- lastTransitionTime: "2025-01-23T10:02:08Z" message: 'The sidecars of the following workloads could not be restarted: test/httpbin' reason: ProxySidecarManualRestartRequired status: "False" type: ProxySidecarRestartSucceeded -
Restart the listed workloads so that new Istio sidecars are injected into the Pods.
The method for restarting resources varies depending on your specific use case. For standalone resources, one approach is to modify the configuration of the running Pod to initiate a restart and then revert it back to the previous configuration. Since restart issues might also be application-specific, it’s recommended that you check your application’s logs for more insights.