Skip to content

Commit

Permalink
Merge pull request #183 from ant-media/update_aks_document
Browse files Browse the repository at this point in the history
Update installing-ams-on-azure-aks.md
  • Loading branch information
Mohit-3196 authored Dec 18, 2023
2 parents 0a73c6c + bc10a97 commit 14ab5be
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,22 @@ Then run the following command to enable Application Gateway Ingress.
```shell
kubectl annotate ingress -n antmedia kubernetes.io/ingress.class=azure/application-gateway --overwrite --all
```
If you are using Application Gateway as Ingress, you should make changes to the deployment files as follows.
```
kubectl edit deployment ant-media-server-origin -n antmedia
```
Add the following lines under `image:`

```
lifecycle:
postStart:
exec:
command:
- /bin/sh
- -c
- sed -i '/org.apache.catalina.valves.RemoteIpValve/d' /usr/local/antmedia/conf/jee-container.xml
```
These changes must be made on both Origin and Edge deployment side.

## Step 7

Expand Down

0 comments on commit 14ab5be

Please sign in to comment.