@@ -41,13 +41,13 @@ The following section describes how to enable external scripts on each instance.
4141
4242For each replica on the availability group, create a load balancer to allow you to connect to the instance.
4343
44- ` kubectl expose pod <pod-name> --port=<connection port number> --name=<load balancer name> --type=LoadBalancer -n <kubernetes namespace> `
44+ ` kubectl expose pod <pod-name> --port=<connection port number> --name=<load- balancer- name> --type=LoadBalancer -n <kubernetes namespace> `
4545
46- The exampl in this article uses the following values:
46+ The examples in this article uses the following values:
4747
4848- ` <pod-name> ` : ` master-# `
4949- ` <connection port number> ` : ` 1533 `
50- - ` <load balancer name> ` : ` mymaster-# `
50+ - ` <load- balancer- name> ` : ` mymaster-# `
5151- ` <kubernetes namespace> ` : ` mssql-cluster `
5252
5353Update the following script for your environment, and run the commands:
@@ -58,23 +58,23 @@ kubectl expose pod master-1 --port=1533 --name=mymaster-1 --type=LoadBalancer -n
5858kubectl expose pod master-2 --port=1533 --name=mymaster-2 --type=LoadBalancer -n mssql-cluster
5959```
6060
61- You should see an output similar to this:
61+ ` kubectl ` returns the following output.
6262
6363``` bash
6464service/mymaster-0 exposed
6565service/mymaster-1 exposed
6666service/mymaster-2 exposed
6767```
6868
69- The each load balancer is a master replica endpoint.
69+ Each load balancer is a master replica endpoint.
7070
7171### Enable script execution on each replica
7272
73731 . Get the IP address for the master replica endpoint.
7474
7575 The following command returns the external IP address for the replica endpoint.
7676
77- ` kubectl get services <load balancer name> -n <kubernetes namespace> `
77+ ` kubectl get services <load- balancer- name> -n <kubernetes namespace> `
7878
7979 To get the external IP address for each replica in this scenario, run the following commands:
8080
@@ -115,11 +115,11 @@ You are now ready to run Python and R scripts on the master instance of Big Data
115115
116116# ## Delete the master replica endpoints
117117
118- On the Kubernetes cluster, delete the endpoint for each replica. The endpoint is exposed in Kubernetes as a load balancing service.
118+ On the Kubernetes cluster, delete the endpoint for each replica. The endpoint is exposed in Kubernetes as a load- balancing service.
119119
120- The following command deletes load balancing service.
120+ The following command deletes load- balancing service.
121121
122- ` kubectl delete svc <load balancer name> -n mssql-cluster`
122+ ` kubectl delete svc <load- balancer- name> -n mssql-cluster`
123123
124124For the examples in this article, run the following command.
125125
0 commit comments