Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 319f999

Browse files
committed
Update content
1 parent 020f0f0 commit 319f999

2 files changed

Lines changed: 47 additions & 2 deletions

File tree

docs/linux/sql-server-linux-kubernetes-failover-job.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ After you run the job, delete it. This also delets Kubernetes logs. If you do no
2727

2828
* `MSSQL_K8S_NEW_PRIMARY`
2929
* Optional
30-
* **Description**: The target of the failover. Accepts the target SQL Server pod name, IP address, StatefulSet name, server name, or host name. Additionally the `!` prefix will prevent failover to a specified target. Example `!sql-1`.
30+
* **Description**: The target of the failover. Accepts the target SQL Server pod name, IP address, StatefulSet name, server name, or host name. Additionally the `!` prefix prevents failover to a specified target. Example `!sql-1`.
3131

3232
* `FORCE_FAILOVER_ALLOW_DATA_LOSS`
3333
* Optional
3434
* **Description**: Boolean to force the failover with potential data loss.
3535

3636
* `MSSQL_K8S_NAMESPACE`
3737
* Optional
38-
* **Description**: Kubernetes namespace of the availability group
38+
* **Description**: Kubernetes namespace of the availability group.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: SQL Server Always On availability group Kubernetes rotate credentials environment variables
3+
description: This article explains the environment variables to rotate credentials for a SQL Server Kubernetes Always On availability group on Kubernetes.
4+
author: MikeRayMSFT
5+
ms.author: mikeray
6+
manager: craigg
7+
ms.date: 7/16/2018
8+
ms.topic: article
9+
ms.prod: sql
10+
ms.component: ""
11+
ms.suite: "sql"
12+
ms.custom: "sql-linux"
13+
ms.technology: linux
14+
---
15+
16+
# SQL Server Always On availability group Kubernetes environment variables to rotate credentials
17+
18+
Rotate credentials on a SQL Server Always On availability group in Kubernetes to update the SQL Server instance `sa` password, set a new master key password, or rotate the database mirroring endpoint certificates.
19+
20+
## Rotate credentials environment variables
21+
22+
* `MSSQL_K8S_SA_PASSWORD`
23+
* Required
24+
* **Description**: The current `sa` password of the SQL Server instance.
25+
26+
* `MSSQL_K8S_STATEFULSET_NAME `
27+
* Required
28+
* **Description**: The name of the SQL Server StatefulSet, the same as the custom resource name .
29+
30+
* `MSSQL_K8S_NAMESPACE`
31+
* Optional
32+
* **Description**: Kubernetes namespace of the availability group.
33+
34+
* `MSSQL_ROTATE_CERT`
35+
* Optional
36+
* **Description**: Boolean to rotate the database mirroring endpoint certificate.
37+
38+
* `MSSQL_K8S_MASTER_KEY_PASSWORD`
39+
* Optional
40+
* **Description**: The master key password.
41+
42+
* `MSSQL_K8S_NEW_SA_PASSWORD`
43+
* Optional
44+
* **Description**: The new `sa` password the SQL Server instance.
45+

0 commit comments

Comments
 (0)