This sample shows the customizations that are necessary if you deploy on Microsoft Azure. The sample assumes that NGINX ingress is used, but you can modify it for other solutions.
-
Copy this directory to a local directory (for example,
my-viya4mon-user-dir/
). -
If necessary, edit the
azuredisk-v4m.yaml
file to customize the storage class that will be used for the deployment. -
Edit the host names in the sample yaml files in both the
monitoring
andlogging
subdirectories to match your environment's actual host names. -
Add additional customization as desired.
-
Run this command to set the
USER_DIR
environment variable to the local path (change the command to use local path that you created in step 1):
export USER_DIR=my-viya4mon-user-dir/azure-deployment
- Run this command:
`kubectl apply -f $USER_DIR/azuredisk-v4m.yaml`
- Run the standard deployment scripts to deploy monitoring and logging components in Azure.
The monitoring and logging applications in this sample are configured for path-based ingress and are available at the following URLs. Be sure to replace the host names in the URLs with the host names for your deployment.
https://host.mycluster.example.com/grafana
https://host.mycluster.example.com/dashboards
This sample does not make Prometheus and Alertmanager available since these
web applications do not provide any sort of user-authentication. However,
if you want to make these applications available, you can do so by setting
the enabled
key available in the appropriate section of the monitoring/user-values=prom-operator.yaml
file (e.g. set the key alertmanager.ingress.enabled
to 'true' to make
Alertmanager accessible).
If you have chosen to make these applications available, the applications are available at the following URLs. As mentioned above, be sure to replace the host names in the URLs with the host names for your deployment.
https://host.mycluster.example.com/prometheus
https://host.mycluster.example.com/alertmanager
For an example of using host-based ingress, see the ingress sample.