Deploy the Environment
Now that everything is set up and your environment components defined, all that is left to do is deploy the Environment.
- On the Environment Detail page, click Deploy. The Select cluster window is displayed.
![scr-dc-deploy.png 3580](https://files.readme.io/c169191-scr-dc-deploy.png)
- Select the Bunnyshell Managed Kubernetes cluster and click Deploy Environment.
![scr-dc-queued.png 3582](https://files.readme.io/5a6fa8a-scr-dc-queued.png)
-
Now all you have to do this wait for Bunnyshell to finish the process. The Environment will become Queued initially, waiting for a Bunnyshell worker to free up. As soon as one becomes available, the Build process will begin. The build process might take a few minutes to complete.
-
After the build is complete, the actual Kubernetes deployment will begin.
Once the Kubernetes Deployment is completed, the Environment becomes Deployed and the DNS records are created for your freshly-generated URLs.
After this is completed, the Environment will become Running.
![scr-dc-deploy-success.png 3582](https://files.readme.io/8930584-scr-dc-deploy-success.png)
Access the Services
You can access services with existing endpoints by clicking on the Endpoints button in the top part of the page.
![scr-dc-endpoints.png 3582](https://files.readme.io/8e87f82-scr-dc-endpoints.png)
A drawer will open with all your Environment's endpoints listed by Component.
![scr-dc-endpoints-modal.png 3582](https://files.readme.io/86ea6a0-scr-dc-endpoints-modal.png)
For example, accessing the frontend will open a page similar to the one below:
![deploy the env 4.png 2638](https://files.readme.io/e4b4a25-deploy_the_env_4.png)
Congratulations!
You have performed your first Kubernetes deployment using Bunnyshell and only a docker-compose.yaml
file.
Note
Each Environment has all its Docker-compose Components deployed into its own Kubernetes namespace, isolated from other environments.
Note
Bear in mind that in some rare cases, the DNS records might take a few minutes to propagate.
Updated 8 months ago