We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f84640 commit babf966Copy full SHA for babf966
1 file changed
eks-deploy-from-ecr.yaml
@@ -3,7 +3,7 @@ kind: Deployment
3
metadata:
4
name: my-python-app-deployment
5
spec:
6
- replicas: 3
+ replicas: 4
7
selector:
8
matchLabels:
9
app: python-app
@@ -17,7 +17,7 @@ spec:
17
image: 211223789150.dkr.ecr.us-east-2.amazonaws.com/my-python-repo
18
imagePullPolicy: Always
19
ports:
20
- - containerPort: 80
+ - containerPort: 5000
21
# service type loadbalancer
22
---
23
apiVersion: v1
@@ -29,6 +29,6 @@ spec:
29
30
31
- protocol: TCP
32
- port: 80
33
- targetPort: 80
+ port: 5000
+ targetPort: 5000
34
type: LoadBalancer
0 commit comments