File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
03-Kubernetes-Fundamentals-with-kubectl/03-01-PODs-with-kubectl Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ kubectl delete pod my-first-pod
88
88
- ** Ports**
89
89
- ** port:** Port on which node port service listens in Kubernetes cluster internally
90
90
- ** 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
91
96
```
92
97
# Create a Pod
93
98
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
101
106
kubectl get service
102
107
kubectl get svc
103
108
109
+ # Describe Service
110
+ kubectl describe service my-first-service
111
+
104
112
# Access Application
105
113
http://<External-IP-from-get-service-output>
106
114
```
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
+
107
121
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.
110
122
111
123
## Step-05: Interact with a Pod
112
124
You can’t perform that action at this time.
0 commit comments