k8s-research-monitoring/scripts/pulling.ps1

57 lines
1.4 KiB
PowerShell

# Get Current Directory
$curDir = Get-Location
# Go to $curDir/docker/alloy
Set-Location "$curDir/docker/alloy"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/cadvisor
Set-Location "$curDir/docker/cadvisor"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/grafana
Set-Location "$curDir/docker/grafana"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/loki
Set-Location "$curDir/docker/loki"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/minio
Set-Location "$curDir/docker/minio"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/pyroscope
Set-Location "$curDir/docker/pyroscope"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/tempo
Set-Location "$curDir/docker/tempo"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/thanos
Set-Location "$curDir/docker/thanos"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/traefik
Set-Location "$curDir/docker/traefik"
# Pull the latest image from Docker Hub
docker compose pull
# Go To $curDir/docker/opentelemetry/collector
Set-Location "$curDir/docker/opentelemetry/collector"
# Pull the latest image from Docker Hub
docker compose pull
# Back to the original directory
Set-Location $curDir
Write-Host "All Docker images have been pulled successfully."