diff --git a/akhil-user1.tar b/akhil-user1.tar new file mode 100644 index 0000000..d5e3403 Binary files /dev/null and b/akhil-user1.tar differ diff --git a/akhil-user7.tar b/akhil-user7.tar new file mode 100644 index 0000000..e6798b0 Binary files /dev/null and b/akhil-user7.tar differ diff --git a/deployment.yml b/deployment.yml index c2d6277..875404e 100644 --- a/deployment.yml +++ b/deployment.yml @@ -18,7 +18,7 @@ spec: app: cicd-demo spec: containers: - - image: 591802062023.dkr.ecr.us-east-1.amazonaws.com/mywebapprepo:latest + - image: 283541956656.dkr.ecr.us-east-1.amazonaws.com/my-new-ecr imagePullPolicy: Always name: cicd-demo ports: diff --git a/index.html b/index.html index 184cba8..a7170ff 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ -

Welcome to My Beautiful Node.js Web Application ajin abraham

+

Welcome to My Beautiful Node.js Web Application Akhil Sathyan07

This is my first Node.js application created on July 20, 08:5 AM.

My Image diff --git a/k8s-deploy.yaml b/k8s-deploy.yaml new file mode 100644 index 0000000..80994de --- /dev/null +++ b/k8s-deploy.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: node-app-deployment +spec: + replicas: 3 + selector: + matchLabels: + app: node-app + template: + metadata: + labels: + app: node-app + spec: + containers: + - name: node-app + image: 283541956656.dkr.ecr.us-east-1.amazonaws.com/my-new-ecr:latest + ports: + - containerPort: 80 + +--- + +apiVersion: v1 +kind: Service +metadata: + name: node-app-service +spec: + type: LoadBalancer + ports: + - port: 3000 + targetPort: 80 + selector: + app: node-app