You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/data/troubleshoot-managed-instance-configuration.md
+39-37Lines changed: 39 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,58 +21,60 @@ For Arc SQL Managed Instance, the supported configuration files that you can ove
21
21
22
22
## Steps to provide override configuration files
23
23
24
-
### 1. Prepare the content of the configuration file
24
+
1. Prepare the content of the configuration file
25
25
26
-
Prepare the content of the file that you would like to provide an override for.
26
+
Prepare the content of the file that you would like to provide an override for.
27
27
28
-
### 2. Create a `ConfigMap`
28
+
1. Create a `ConfigMap`
29
29
30
-
Create a `ConfigMap` spec to store the content of the configuration file. The key in the `ConfigMap` dictionary should be the name of the file, and the value should be the content.
31
-
You can provide file overrides for multiple configuration files in one `ConfigMap`.
32
-
The `ConfigMap` must be in the same namespace as the SQL Managed Instance.
30
+
Create a `ConfigMap` spec to store the content of the configuration file. The key in the `ConfigMap` dictionary should be the name of the file, and the value should be the content.
33
31
34
-
The following spec shows an example of how to provide an override for mssql.conf file:
32
+
You can provide file overrides for multiple configuration files in one `ConfigMap`.
In SQL Managed Instance spec, provide the name of the ConfigMap in the field `spec.fileOverrideConfigMap`.
51
-
The SQL Managed Instance `apiVersion` must be at least v12 (released in April 2023).
48
+
Apply the `ConfigMap` in Kubernetes using `kubectl apply -f <filename>`.
52
49
53
-
The following SQL Managed Instance spec shows an example of how to provide the name of the ConfigMap.
50
+
1. Provide the name of the ConfigMap in SQL Managed Instance spec
54
51
55
-
```json
56
-
apiVersion: sql.arcdata.microsoft.com/v12
57
-
kind: SqlManagedInstance
58
-
metadata:
59
-
name: sqlmifo
60
-
namespace: test
61
-
spec:
62
-
fileOverrideConfigMap: sqlmifo-cm
63
-
...
64
-
```
52
+
In SQL Managed Instance spec, provide the name of the ConfigMap in the field `spec.fileOverrideConfigMap`.
65
53
66
-
Apply the SQL Managed Instance spec in Kubernetes. This action leads to the delivery of the provided configuration files to Arc SQL Managed Instance container.
54
+
The SQL Managed Instance `apiVersion` must be at least v12 (released in April 2023).
67
55
68
-
### 4. Check that the files are downloaded in the arc-sqlmi container.
56
+
The following SQL Managed Instance spec shows an example of how to provide the name of the ConfigMap.
69
57
70
-
The locations of supported files in the container are:
58
+
```json
59
+
apiVersion: sql.arcdata.microsoft.com/v12
60
+
kind: SqlManagedInstance
61
+
metadata:
62
+
name: sqlmifo
63
+
namespace: test
64
+
spec:
65
+
fileOverrideConfigMap: sqlmifo-cm
66
+
...
67
+
```
71
68
72
-
-`mssql.conf`: `/var/run/config/mssql/mssql.conf`
73
-
-`mssql.json`: `/var/run/config/mssql/mssql.json`
74
-
-`krb5.conf`: `/etc/krb5.conf`
69
+
Apply the SQL Managed Instance spec in Kubernetes. This action leads to the delivery of the provided configuration files to Arc SQL Managed Instance container.
75
70
71
+
1. Check that the files are downloaded in the `arc-sqlmi` container.
72
+
73
+
The locations of supported files in the container are:
0 commit comments