Deploy your first application on Runtime
Part III: Create Kubernetes manifests to deploy
- Create Kubernetes manifests for deployment (e.g. Ingress, Service, Deployment). An example can be found here.
- Update the image for the pod spec from step 4 in Part II.
- Commit the changes and create merge request to main.
- To promote to PRD environment, make the changes into cstack-manifest
baseandprdfolders. Then create a new merge request frommaintorelease/prd. - Argo CD will sync periodically every 90 seconds. You can also click refresh for ArgoCD to poll cstack-manifest immediately and start the deployment.
- Access your application via
https://{ingress-hostname}.e01.app.gov.sg/.
Congratulations!
If you’ve made it this far, you should have an application deployed and accessible from your web browser! If you’re stuck, don’t worry, feel free to reach out for help at our Slack Channel #cstack-helloworld.
Important: The app must run as non-root user. Runtime Cloud will not allow containers to runAsRoot.