Skip to content

Commit c062612

Browse files
committed
Welcome to Stack Simplify
1 parent dcc86b3 commit c062612

File tree

1 file changed

+14
-2
lines changed
  • 03-Kubernetes-Fundamentals-with-kubectl/03-01-PODs-with-kubectl

1 file changed

+14
-2
lines changed

03-Kubernetes-Fundamentals-with-kubectl/03-01-PODs-with-kubectl/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ kubectl delete pod my-first-pod
8888
- **Ports**
8989
- **port:** Port on which node port service listens in Kubernetes cluster internally
9090
- **targetPort:** We define container port here on which our application is running.
91+
- Verify the following before LB Service creation
92+
- Azure Standard Load Balancer created for Azure AKS Cluster
93+
- Frontend IP Configuration
94+
- Load Balancing Rules
95+
- Azure Public IP
9196
```
9297
# Create a Pod
9398
kubectl run <desired-pod-name> --image <Container-Image>
@@ -101,12 +106,19 @@ kubectl expose pod my-first-pod --type=LoadBalancer --port=80 --name=my-first-s
101106
kubectl get service
102107
kubectl get svc
103108
109+
# Describe Service
110+
kubectl describe service my-first-service
111+
104112
# Access Application
105113
http://<External-IP-from-get-service-output>
106114
```
115+
- Verify the following after LB Service creation
116+
- Azure Standard Load Balancer created for Azure AKS Cluster
117+
- Frontend IP Configuration
118+
- Load Balancing Rules
119+
- Azure Public IP
120+
107121

108-
- **Important Note about: target-port**
109-
- If target-port is not defined, by default and for convenience, the **targetPort** is set to the same value as the **port** field.
110122

111123
## Step-05: Interact with a Pod
112124

0 commit comments

Comments
 (0)