Skip to content

Commit cb2b037

Browse files
Kalyan Reddy DaidaKalyan Reddy Daida
Kalyan Reddy Daida
authored and
Kalyan Reddy Daida
committedJun 30, 2020
Welcome to Stack Simplify
1 parent 02150d5 commit cb2b037

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed
 

‎07-ELB-Classic-and-Network-LoadBalancers/07-02-Classic-LoadBalancer-CLB/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ http://<CLB-DNS-NAME>/usermgmt/health-status
4545
## Step-03: Clean Up
4646
```
4747
# Delete all Objects created
48-
kubectl delete -f V1-Classic-Load-Balancer/
48+
kubectl delete -f kube-manifests/
4949
5050
# Verify current Kubernetes Objects
5151
kubectl get all

‎07-ELB-Classic-and-Network-LoadBalancers/07-03-Network-LoadBalancer-NLB/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- **Deploy all Manifest**
2323
```
2424
# Deploy all manifests
25-
kubectl apply -f V2-Network-Load-Balancer/
25+
kubectl apply -f kube-manifests/
2626

2727
# List Services (Verify newly created NLB Service)
2828
kubectl get svc
@@ -47,7 +47,7 @@ http://<NLB-DNS-NAME>/usermgmt/health-status
4747
## Step-03: Clean Up
4848
```
4949
# Delete all Objects created
50-
kubectl delete -f V2-Network-Load-Balancer/
50+
kubectl delete -f kube-manifests/
5151
5252
# Verify current Kubernetes Objects
5353
kubectl get all
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4-
name: nlb-usermgmt-restapp
5-
labels:
4+
name: clb-usermgmt-restapp
5+
labels:
66
app: usermgmt-restapp
7-
annotations:
8-
service.beta.kubernetes.io/aws-load-balancer-type: nlb
97
spec:
10-
type: LoadBalancer
8+
type: LoadBalancer # Default - CLB
119
selector:
12-
app: usermgmt-restapp
13-
ports:
14-
- port: 80
15-
targetPort: 8095
16-
17-
10+
app: usermgmt-restapp
11+
ports:
12+
- port: 80
13+
targetPort: 8095

0 commit comments

Comments
 (0)
Please sign in to comment.