Deploying a multi-container application to Azure Kubernetes Service without using Azure DevOps

Rajasekhar 21 Reputation points
2020-07-26T10:09:58.713+00:00

Deploying a multi-container application to Azure Kubernetes Services without using Azure DevOps

We have use case with Java Application (Spring ) with oracle Database as two containers . We have to try the same in AKS ( Not using Azure DevOps).

Java App With - One Docker Image

Oracle DB - Another Docker Image

Both App (8080) and DB (1521) runs on different Ports

Let me know if you have similar use case implemented.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,447 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,487 Reputation points Moderator
    2020-07-27T12:05:26.997+00:00

    @Rajasekhar-7195

    You can deploy multiple containers (pods). Each pod run be exposed at different ports. Pods are not directly exposed to other pods for communications (it is exposed by Services in Kubernetes).
    For your case, there would be two services one for java app and one for oracle db. There can be multiple pods running inside each service (for better horizontal scalability).

    I would recommend to check on k8s from kubernetes official website. In order for deployment of k8s manifests, there are multiple options including using yaml's files directly or using helm packages.

    In production, I would suggest using helm packages for managing manifests.

    Hope this helps.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    [2]: https://stackoverflow.com/questions/63098721/deploying-a-multi-container-application-to-azure-kubernetes-services-without-usi

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.