Deploy the Nutanix Event Notification Service
Now you can deploy the service that monitors the Nutanix infrastructure and triggers AWX jobs.
Deploy the Nutanix Event Notification Service
Run Nutanix Service Deployment Script
# Ensure you're in the scripts directory cd deploy/nutanix/scripts/ chmod +x deploy_nutanix_service.sh ./deploy_nutanix_service.sh
Deployment Options
This script will prompt you to choose between Option 1 Kubernetes Deployment (Recommended) or Option 2 Docker Container
-
Option 1: Kubernetes Deployment (Recommended)
-
Deploys as Kubernetes pod
-
Uses ConfigMaps and Secrets for configuration
-
Automatic restart and health monitoring
-
Better for production environments
-
-
Option 2: Docker Container
-
Deploys as a standalone Docker container
-
Uses environment file for configuration
-
Simpler for development and testing
-
Configuration Input
This script will automatically detect the AWX configuration and will prompt you for the following information:
-
Nutanix Configuration
-
Prism Central IP address
-
Port (default: 9440)
-
Username
-
Password
-
-
Additional Settings
-
Host: Kubernetes node IP
-
-
Port: AWX NodePort
-
Username: admin
-
Password: Extracted from the AWX secret
Monitor Deployment
To monitor a Kubernetes Deployment, issue the following commands:
# Check pod status kubectl get pods -l app=event-notification-service # View logs kubectl logs -f deployment/event-notification-service # Check configuration kubectl get configmap nutanix-eda-config -o yaml kubectl get secret nutanix-eda-secrets -o yaml
To monitor a Docker Deployment, issue the following commands:
# Check container status docker ps | grep nutanix-event-service # View logs docker logs -f nutanix-event-service # Check environment variables docker exec nutanix-event-service env | grep NUTANIX