SMDS-ADR-006
| Status | NOT STARTED / IN PROGRESS / COMPLETE |
|---|---|
| Impact | HIGH / MEDIUM / LOW |
| Driver | User 7f21c |
| Date |
Decisions
- Migration of API’s from Azure App Services to Perpetual Kubernetes Cluster
Context
This likely represents a more robustic Infrastructure with High Avaialablity, Auto Scaling, Security Standards, Repository Lifecyle and Less Maintenance Cost.
The focus here is on migrating all the existing Azure App Services to Kubernetes Cluster and usage of the most advance inbuilt Features of K8’s.
Discussion Topics
- Overcoming of Existing Challenges.
- Github Repostiory Life Cycle Management.
- Steps to Onboard an Application to K8’s
Resolving Challenges Due to Migration to Kubernetes
- Service Principles expiration affects the Deployment Pipelines and It requires a continues manual intervention on renewal.
- Easy of Onboarding and deploying applications in a build in auto scaling multi regions Clusters.
- Hashicorp vault is inbuilt with K8's Cluster which allows the simplicity in Secrets Lifecycle Management
- Implementation of service mesh adding more secure way of accessing the API’s and adding the performance in Application response.
- Better Control of deploying applications with secured pipelines along with Flux Module by Maintaining all config files in single repository.
- Quick way Accessing the Logs and connecting to the Pods to troubleshoot the issues
- MOP Features are in-built for Monitoring and Alerting along with Loki Logs
- Maintenance of K8's Cluster is under Perpetual Platform with Inbuilt Security Standards.
- Private Endpoint for Postgres Flexi Servers allows more secure connections from API to backend DB.
- Avoiding the Usage Cost of App Service Plan, App Service,Keyvaults, Storage Accounts, Application Insights etc
Github Lifecycle Managemnet
-
Githib Repository Creation is Pre-Requesite of an Application Onbaord. Which involves the below criteria for the Access Management.
-
Below are the repository Standards followed to ensure the Peer Review and Approval before deploying an application.
-
Code Scanning is Mandatory as part of Maersk Security Standards. Secrets should not be exposed in the Application or Github Pipelines.
Steps to Onboard an Application to K8’s
-
Onboarding Application to the Perpetual K8s Cluster.
-
Deployment Pre-Requesites
-
Service Mesh Onboard
-
Multiregion Deployment
All these steps are explained in Detail in Seperate pages.