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 hostnames in the sample yaml files in both the
monitoring
andlogging
subdirectories to match your environment's actual hostnames. -
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 (replace the hostnames for your deployment):
http://host.mycluster.example.com/grafana
http://host.mycluster.example.com/prometheus
http://host.mycluster.example.com/alertmanager
http://host.mycluster.example.com/kibana
For an example of using host-based ingress, see the ingress sample.