From f9caf29de3e0fff50a5d72800ceac1191becb0c0 Mon Sep 17 00:00:00 2001 From: eliyazsyed22 Date: Wed, 21 Aug 2024 22:53:25 -0700 Subject: [PATCH] local commit --- .../01-MySQL-externalName-Service.yml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/12-Microservices-Deployment-on-EKS/kube-manifests/01-MySQL-externalName-Service.yml b/12-Microservices-Deployment-on-EKS/kube-manifests/01-MySQL-externalName-Service.yml index 59357f3f..e72685a1 100644 --- a/12-Microservices-Deployment-on-EKS/kube-manifests/01-MySQL-externalName-Service.yml +++ b/12-Microservices-Deployment-on-EKS/kube-manifests/01-MySQL-externalName-Service.yml @@ -4,4 +4,23 @@ metadata: name: mysql spec: type: ExternalName - externalName: usermgmtdb.cxojydmxwly6.us-east-1.rds.amazonaws.com \ No newline at end of file + externalName: usermgmtdb.cxojydmxwly6.us-east-1.rds.amazonaws.com + + + +## master server + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: mysql-master +spec: + replicas: 3 + selector: + matchLabels: + app: mysql-master + template: + metadata: + labels: + app: mysql-master + spec: \ No newline at end of file