-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix Storage Driver Issues and Update Host Configuration, Made for easy deployment #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sharath-thetechy
wants to merge
5
commits into
LondheShubham153:main
Choose a base branch
from
sharath-thetechy:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| FROM node:14 | ||
| WORKDIR /usr/src/app | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| COPY package*.json ./ | ||
|
|
||
| RUN npm install | ||
|
|
||
| COPY . . | ||
| CMD ["node", "index.js"] | ||
|
|
||
| CMD ["node","index.js"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| FROM node:14 | ||
| WORKDIR /usr/src/app | ||
|
|
||
| WORKDIR /app | ||
|
|
||
| COPY package*.json ./ | ||
|
|
||
| RUN npm install | ||
|
|
||
| COPY . . | ||
| CMD [ "npm", "start" ] | ||
|
|
||
| CMD ["npm","start"] | ||
Binary file not shown.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| apiVersion: storage.k8s.io/v1 | ||
| kind: StorageClass | ||
| metadata: | ||
| name: gp2-csi | ||
| provisioner: ebs.csi.aws.com | ||
| parameters: | ||
| type: gp2 | ||
| volumeBindingMode: WaitForFirstConsumer | ||
| reclaimPolicy: Delete | ||
| allowVolumeExpansion: true | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| apiVersion: v1 | ||
| kind: Service | ||
| metadata: | ||
| name: frontend-service | ||
| namespace: three-tier | ||
| spec: | ||
| type: ClusterIP | ||
| selector: | ||
| role: frontend | ||
| ports: | ||
| - port: 80 # π REQUIRED for Ingress | ||
| targetPort: 3000 # π containerPort | ||
|
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,251 @@ | ||
| { | ||
| "Version": "2012-10-17", | ||
| "Statement": [ | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "iam:CreateServiceLinkedRole" | ||
| ], | ||
| "Resource": "*", | ||
| "Condition": { | ||
| "StringEquals": { | ||
| "iam:AWSServiceName": "elasticloadbalancing.amazonaws.com" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:DescribeAccountAttributes", | ||
| "ec2:DescribeAddresses", | ||
| "ec2:DescribeAvailabilityZones", | ||
| "ec2:DescribeInternetGateways", | ||
| "ec2:DescribeVpcs", | ||
| "ec2:DescribeVpcPeeringConnections", | ||
| "ec2:DescribeSubnets", | ||
| "ec2:DescribeSecurityGroups", | ||
| "ec2:DescribeInstances", | ||
| "ec2:DescribeNetworkInterfaces", | ||
| "ec2:DescribeTags", | ||
| "ec2:GetCoipPoolUsage", | ||
| "ec2:DescribeCoipPools", | ||
| "ec2:GetSecurityGroupsForVpc", | ||
| "ec2:DescribeIpamPools", | ||
| "ec2:DescribeRouteTables", | ||
| "elasticloadbalancing:DescribeLoadBalancers", | ||
| "elasticloadbalancing:DescribeLoadBalancerAttributes", | ||
| "elasticloadbalancing:DescribeListeners", | ||
| "elasticloadbalancing:DescribeListenerCertificates", | ||
| "elasticloadbalancing:DescribeSSLPolicies", | ||
| "elasticloadbalancing:DescribeRules", | ||
| "elasticloadbalancing:DescribeTargetGroups", | ||
| "elasticloadbalancing:DescribeTargetGroupAttributes", | ||
| "elasticloadbalancing:DescribeTargetHealth", | ||
| "elasticloadbalancing:DescribeTags", | ||
| "elasticloadbalancing:DescribeTrustStores", | ||
| "elasticloadbalancing:DescribeListenerAttributes", | ||
| "elasticloadbalancing:DescribeCapacityReservation" | ||
| ], | ||
| "Resource": "*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "cognito-idp:DescribeUserPoolClient", | ||
| "acm:ListCertificates", | ||
| "acm:DescribeCertificate", | ||
| "iam:ListServerCertificates", | ||
| "iam:GetServerCertificate", | ||
| "waf-regional:GetWebACL", | ||
| "waf-regional:GetWebACLForResource", | ||
| "waf-regional:AssociateWebACL", | ||
| "waf-regional:DisassociateWebACL", | ||
| "wafv2:GetWebACL", | ||
| "wafv2:GetWebACLForResource", | ||
| "wafv2:AssociateWebACL", | ||
| "wafv2:DisassociateWebACL", | ||
| "shield:GetSubscriptionState", | ||
| "shield:DescribeProtection", | ||
| "shield:CreateProtection", | ||
| "shield:DeleteProtection" | ||
| ], | ||
| "Resource": "*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:AuthorizeSecurityGroupIngress", | ||
| "ec2:RevokeSecurityGroupIngress" | ||
| ], | ||
| "Resource": "*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:CreateSecurityGroup" | ||
| ], | ||
| "Resource": "*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:CreateTags" | ||
| ], | ||
| "Resource": "arn:aws:ec2:*:*:security-group/*", | ||
| "Condition": { | ||
| "StringEquals": { | ||
| "ec2:CreateAction": "CreateSecurityGroup" | ||
| }, | ||
| "Null": { | ||
| "aws:RequestTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:CreateTags", | ||
| "ec2:DeleteTags" | ||
| ], | ||
| "Resource": "arn:aws:ec2:*:*:security-group/*", | ||
| "Condition": { | ||
| "Null": { | ||
| "aws:RequestTag/elbv2.k8s.aws/cluster": "true", | ||
| "aws:ResourceTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "ec2:AuthorizeSecurityGroupIngress", | ||
| "ec2:RevokeSecurityGroupIngress", | ||
| "ec2:DeleteSecurityGroup" | ||
| ], | ||
| "Resource": "*", | ||
| "Condition": { | ||
| "Null": { | ||
| "aws:ResourceTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:CreateLoadBalancer", | ||
| "elasticloadbalancing:CreateTargetGroup" | ||
| ], | ||
| "Resource": "*", | ||
| "Condition": { | ||
| "Null": { | ||
| "aws:RequestTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:CreateListener", | ||
| "elasticloadbalancing:DeleteListener", | ||
| "elasticloadbalancing:CreateRule", | ||
| "elasticloadbalancing:DeleteRule" | ||
| ], | ||
| "Resource": "*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:AddTags", | ||
| "elasticloadbalancing:RemoveTags" | ||
| ], | ||
| "Resource": [ | ||
| "arn:aws:elasticloadbalancing:*:*:targetgroup/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:loadbalancer/net/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:loadbalancer/app/*/*" | ||
| ], | ||
| "Condition": { | ||
| "Null": { | ||
| "aws:RequestTag/elbv2.k8s.aws/cluster": "true", | ||
| "aws:ResourceTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:AddTags", | ||
| "elasticloadbalancing:RemoveTags" | ||
| ], | ||
| "Resource": [ | ||
| "arn:aws:elasticloadbalancing:*:*:listener/net/*/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:listener/app/*/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:listener-rule/net/*/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:listener-rule/app/*/*/*" | ||
| ] | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:ModifyLoadBalancerAttributes", | ||
| "elasticloadbalancing:SetIpAddressType", | ||
| "elasticloadbalancing:SetSecurityGroups", | ||
| "elasticloadbalancing:SetSubnets", | ||
| "elasticloadbalancing:DeleteLoadBalancer", | ||
| "elasticloadbalancing:ModifyTargetGroup", | ||
| "elasticloadbalancing:ModifyTargetGroupAttributes", | ||
| "elasticloadbalancing:DeleteTargetGroup", | ||
| "elasticloadbalancing:ModifyListenerAttributes", | ||
| "elasticloadbalancing:ModifyCapacityReservation", | ||
| "elasticloadbalancing:ModifyIpPools" | ||
| ], | ||
| "Resource": "*", | ||
| "Condition": { | ||
| "Null": { | ||
| "aws:ResourceTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:AddTags" | ||
| ], | ||
| "Resource": [ | ||
| "arn:aws:elasticloadbalancing:*:*:targetgroup/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:loadbalancer/net/*/*", | ||
| "arn:aws:elasticloadbalancing:*:*:loadbalancer/app/*/*" | ||
| ], | ||
| "Condition": { | ||
| "StringEquals": { | ||
| "elasticloadbalancing:CreateAction": [ | ||
| "CreateTargetGroup", | ||
| "CreateLoadBalancer" | ||
| ] | ||
| }, | ||
| "Null": { | ||
| "aws:RequestTag/elbv2.k8s.aws/cluster": "false" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:RegisterTargets", | ||
| "elasticloadbalancing:DeregisterTargets" | ||
| ], | ||
| "Resource": "arn:aws:elasticloadbalancing:*:*:targetgroup/*/*" | ||
| }, | ||
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "elasticloadbalancing:SetWebAcl", | ||
| "elasticloadbalancing:ModifyListener", | ||
| "elasticloadbalancing:AddListenerCertificates", | ||
| "elasticloadbalancing:RemoveListenerCertificates", | ||
| "elasticloadbalancing:ModifyRule", | ||
| "elasticloadbalancing:SetRulePriorities" | ||
| ], | ||
| "Resource": "*" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π§© Analysis chain
π Web query:
Node.js LTS version 2025 2026 end of life schedule currentπ‘ Result:
As of Jan 16, 2026 β key Node.js LTS / EoL dates:
Notes: the official Node.js Releases page and the Release Working Group repo contain the authoritative schedule above. (nodejs.org)
Would you like these as a calendar file or a migration-plan checklist?
Citations:
π Web query:
Node.js Docker official image node:lts tag latest LTS versionπ‘ Result:
The node:lts Docker tag currently points to Node.js 24 (Active LTS) β e.g., tag variants like lts, 24, 24.13.0 are listed on the official Node image. [1][2]
Sources:
Update the Node base image to a supported LTS.
node:14is end-of-life and no longer receives security fixes. Update tonode:lts(currently Node.js 24, supported through April 2028), then pin to a specific version once validated for compatibility.π§ Proposed update
π Committable suggestion
π€ Prompt for AI Agents