User:Naresh

Revision as of 07:30, 1 April 2025 by Naresh (talk | contribs)
          Deploying ACP MariaDB and ACP Session to K8S

We have created custom images from the local system for the MariaDB and ACP to deploy pods on the GCP K8s Engine


MariadB docker file contains below Details:


The Docker file contains the Image used and we are installing the mariadb-client on the image , once the image is created this is pushed to GCP image repository

Mariadb-Client is installed to connect locally from HeidiSQL APP.

Mariadb Docker FIle.png





For ACP Session , we have created custom docker image with two steps

1. Created windows docker image with sql installed.

Image.png




2. We have used step 1 to create custom ACP docker image

ACP Session Image.png


Below is screenshot where we are tagging the image as per the GCP repo , so that we can push the image to GCP

Acp session tagged images.png

As per below Screenshot we are tagging the image and pushing it to the GCP repo.

Custom Image tagging and Pushing to GCP.png

We can check list of images which are pushed to acp-repo in the GCP k8s by using the below command


gcloud artifacts docker images list us-west1-docker.pkg.dev/supple-lattice-206522/acp-repo

From GCP , K8s we need to deploy the mariadb pod using the acp_mariadb.yaml.

Below Steps are performed by suing this below yaml file

1.We are using separate namespace called acp-dev

2.We are using the custom image which we pushed to GCP repo

3. We are attaching a 10GB volume to store mariadb db data

Acp mariadb yaml file .png