Skip to content

Commit f707671

Browse files
committed
Update python script.
1 parent 78e5603 commit f707671

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/linux/sql-server-linux-kubernetes-create-deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ az aks get-credentials --resource-group=<GroupName> --name=<ClusterName>
4646
================
4747
Example 1 -
4848
```python
49-
python ./deploy-ag.py --help
49+
./deploy-ag.py --help
5050
usage: deploy-ag.py [-h] {deploy,failover} ...
5151

5252
optional arguments:
@@ -62,7 +62,7 @@ Example 1 -
6262

6363
Example 2 -
6464
```python
65-
python ./deploy-ag.py deploy --help
65+
./deploy-ag.py deploy --help
6666

6767
usage: deploy-ag.py deploy [-h] [--verbose] [--ag AG] [-n NAMESPACE]
6868
[--dry-run] [-s SQL_SERVERS [SQL_SERVERS ...]]
@@ -92,7 +92,7 @@ Deploy SQL Server and k8s Agents in namespace(AG name)
9292
Example 3 --
9393

9494
```python
95-
python ./deploy-ag.py failover --help
95+
./deploy-ag.py failover --help
9696
usage: deploy-ag.py failover [-h] [--verbose] [--ag AG]
9797
[--namespace NAMESPACE] [--dry-run]
9898
target_replica
@@ -115,7 +115,7 @@ python ./deploy-ag.py failover --help
115115
### Create the specs but **NOT** apply
116116

117117
```python
118-
python.exe ./deploy-ag.py deploy --dry-run
118+
./deploy-ag.py deploy --dry-run
119119

120120
python.exe ./deploy-ag.py deploy --ag ag1 --namespace AG1 --sql-servers ['SQL1', 'SQL2', 'SQL3'] --sa-password 'SAPassword2018' --env AKS --dry-run
121121

@@ -141,7 +141,7 @@ python ./deploy-ag.py failover --help
141141
### Perform a Manual Failover
142142

143143
```python
144-
python ./deploy-ag.py failover --ag ag1 --namespace ag1 --verbose mssql1-0
144+
./deploy-ag.py failover --ag ag1 --namespace ag1 --verbose mssql1-0
145145
```
146146

147147
## Next steps

docs/linux/sql-server-linux-kubernetes-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
3939
4040
To create the storage run the following command:
4141
42-
```kubectl
42+
```azurecli
4343
kubectl apply -f <pvc.yaml>
4444
```
4545
4646
1. Create Kubernetes secrets for the SA password and the master key.
4747

4848
The following example creates two secrets. `sapassword` is for the SA password and `masterkeypassword` is for the master key. Before you run this script replace `<MyC0mp13xP@55w04d!>` with different complex password for each secret.
4949

50-
```kubectl
50+
```azurecli
5151
kubectl create secret generic sql-secrets --from-literal='sapassword=<MyC0mp13xP@55w04d!>' --from-literal='masterkeypassword=<MyC0mp13xP@55w04d!>'
5252
```
5353

0 commit comments

Comments
 (0)