This will setup a single node k8s development cluster on an Azure VM
Create your Azure VM per instructions at Azure Kubernetes Development Cluster
From a Dev Cluster bash shell via SSH
# clone this repository
git clone https://github.com/retaildevcrews/ngsa
# change to this directory
cd ngsa/IaC/DevCluster
# verify kubernetes is running
kubectl get all --all-namespaces
(optional) Allows remote access (via http) to your Dev Cluster
- Prometheus web is on port 30000
- NGSA-Memory is on port 30080
- NGSA-Cosmos is on port 30081
- LodeRunner is on port 30088
- Grafana web is on port 32000
- Follow the deployment instructions in ngsa-memory
This requires NGSA-Memory
kubectl apply -f loderunner/loderunner.yaml
- Follow the deployment instructions in ngsa-cosmos
# (optional) remove all prometheus data
sudo rm -rf /prometheus
# create the volume mount directory
sudo mkdir -p /prometheus
sudo chown -R 65534:65534 /prometheus
kubectl apply -f prometheus
- Default Credentials
- user: admin
- password: Ngsa512
# (optional) remove all grafana data
sudo rm -rf /grafana
# create the volume mount directory
sudo mkdir -p /grafana
sudo chown -R 472:472 /grafana
# (optional) copy the default grafana dashboards
sudo cp -R grafanadata /grafana
sudo chown -R 472:472 /grafana
kubectl apply -f grafana
kubectl apply -f kube-state-metrics
- Follow the deployment instructions in fluentbit