Enabling the readiness init containers for the Operator installer
The readiness init containers are not enabled by default, so to use them you first have to enable them. To enable the readiness init containers for the Che installed by the Operator installer:
Eclipse Che installed by the Operator installer.
Find the name of the Che Operator Deployment. Usually it is
$ kubectl get deployments -n eclipse-che
Edit the Deployment as follows: Under
spec.template.spec.containers.envof the Operator Deployment, insert the following lines:
- name: ADD_COMPONENT_READINESS_INIT_CONTAINERS (1) value: "true"
ADD_COMPONENT_READINESS_INIT_CONTAINERSis an environment variable.
Wait while Che Operator restarts some components.
|Repeat these steps after each Che upgrade when a new Operator Deployment is created.|