Home Explore Blog CI



kubernetes

13th chunk of `content/en/blog/_posts/2017-11-00-Kubernetes-Easy-Way.md`
179efc27616a70b1bf139aabecba18e5fc948038a6aee9650000000100000267
![](https://lh5.googleusercontent.com/dD_Dn5SgpSSqTfIeHep4QKhx6rM8zcTWQVR-wHwBWLMzeZ9vsueS320yOeH_nuaKSYlSwrSB3UhML0wcLYZeoCPtga9mvvpyShutYoVKNtZ16e9ZDvglHDiOqugXunkDstUPF_aV)  

3. It’s a good idea to run some tests before deploying. Under _Build and Unit Test_, add npm test for the unit test script.   

4. Click **Deploy Script** and select **Kubernetes (Beta)**. Enter the information for the service you’ve already deployed.   

 ![](https://lh5.googleusercontent.com/an0aib6sTTqZqhfjMjOGFcWRRcaQSjezjk9XHVxEsLr_6hWi0kslsgQR6D0gP3EiA8D4pON-BhmakaRhpFVCkH16F80jt2-EWAJki4i2u4fYRQSdumiihC5fDjUyOyC9rwm1QilT)

Title: Configuring Deployment Script in Kubernetes
Summary
To set up the deployment script, users are advised to include unit tests before deployment by adding 'npm test' under the 'Build and Unit Test' section. Then, they should click on 'Deploy Script' and choose 'Kubernetes (Beta)'. Finally, they need to input the relevant information for the service that has already been deployed.