When you start the new container in Kubernetes cluster, Kubernetes will not start any process within this container. Nocalhost can uses run configurations to run your code in Kubernetes cluster like to use the run feature within IDE.
- Select the workload that you want to run
- Right-click the workload and select
Dev Config, configure your run configuration
- Then right-click this workload again and select Remote Run
- Nocalhost will automatically enter the
DevModeand start remote run
Before starting remote run, if you do not have a Nocalhost IDE run configuration under an existing workload, Nocalhost will create a new IDE run configuration according to your Nocalhost configuration. Different IDE has different configuration names and templates.
If you already have a Nocalhost IDE run configuration under the existing workload, Nocalhost will use the first one to start running. You can change the order in the
Run/Debug Configurations window within IDE.
The development environment is different between developers. You should configure remote run configurations according to the actual situation.