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/kubernetes/tutorial-arc-enabled-open-service-mesh.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ OSM runs an Envoy-based control plane on Kubernetes, can be configured with [SMI
37
37
- Ensure you have met all the common prerequisites for cluster extensions listed [here](extensions.md#prerequisites).
38
38
- Use az k8s-extension CLI version >= v0.4.0
39
39
40
-
## Basic Installation of OSM on an Azure Arc-enabled Kubernetes Cluster
40
+
## Basic Installation of Azure Arc-enabled OSM on an Azure Arc-enabled Kubernetes Cluster
41
41
42
42
The following steps assume that you already have a cluster with supported a Kubernetes distribution connected to Azure Arc.
43
43
Ensure that your KUBECONFIG environment variable points to the kubeconfig of the Arc-enabled Kubernetes cluster.
@@ -89,13 +89,18 @@ You should see output similar to the output shown below. It may take 3-5 minutes
89
89
}
90
90
```
91
91
92
-
## Installation with Custom Configurations
93
-
The following sections describe further configurations of OSM during installation.
92
+
## Custom Installations of Azure Arc-enabled OSM
93
+
The following sections describe certain custom installations of Azure Arc-enabled OSM.
94
94
95
95
### Setting values during OSM installation
96
96
97
-
To set custom configurations of OSM, applicable values must be passed in during installation.
98
-
This requires creating a JSON file containing the required settings and passing them into `k8s-extension create` CLI command.
97
+
Setting custom values of OSM requires creating a JSON file containing the required settings and passing them into `k8s-extension create` CLI command.
98
+
For example, to change the log level of logs emitted by the OSM controller to `info`, the JSON file would be as follows:
99
+
```json
100
+
{
101
+
"osm.osm.controllerLogLevel": "info"
102
+
}
103
+
```
99
104
100
105
Refer to sections below to determine the contents of the JSON file you require.
101
106
@@ -115,7 +120,7 @@ create the OSM extension, passing in the settings file using the `--configuratio
115
120
1. Copy and save the following contents into a JSON file. If you have already created a configuration settings file, please add the following line to the existing file to preserve your previous changes.
@@ -129,7 +134,7 @@ create the OSM extension, passing in the settings file using the `--configuratio
129
134
130
135
It may take 3-5 minutes for the actual OSM helm chart to get deployed to the cluster. Until this deployment happens, you will continue to see installState as Pending.
131
136
132
-
To ensure that the privileged init container setting is not reverted to the default, pass in the "osm.OpenServiceMesh.enablePrivilegedInitContainer" : "true" configuration setting to all subsequent az k8s-extension create commands.
137
+
To ensure that the privileged init container setting is not reverted to the default, pass in the "osm.osm.enablePrivilegedInitContainer" : "true" configuration setting to all subsequent az k8s-extension create commands.
133
138
134
139
### Install OSM with cert-manager for Certificate Management
135
140
[cert-manager](https://cert-manager.io/) is a provider that can be used for issuing signed certificates to OSM without
@@ -174,7 +179,7 @@ To set required values for configuring Contour during OSM installation, create t
174
179
175
180
[Now, install OSM with custom values](#setting-values-during-osm-installation).
176
181
177
-
###Install Azure Arc-enabled OSM using ARM template
182
+
## Install Azure Arc-enabled OSM using ARM template
178
183
179
184
After connecting your cluster to Azure Arc, create a json file with the following format, making sure to update the \<cluster-name\> and \<osm-arc-version\> values:
180
185
@@ -383,7 +388,7 @@ To make changes to the OSM ConfigMap for version v0.8.4, use the following guida
383
388
1. Copy and save the changes you wish to make in a JSON file. In this example, we are going to change the permissive_traffic_policy_mode from true to false. Each time you make a change to `osm-config`, you will have to provide the full list of changes (compared to the default `osm-config`) in a JSON file.
@@ -400,7 +405,6 @@ To make changes to the OSM ConfigMap for version v0.8.4, use the following guida
400
405
401
406
> [!NOTE]
402
407
> To ensure that the ConfigMap changes are not reverted to the default, pass in the same configuration settings to all subsequent az k8s-extension create commands.
0 commit comments