Sonatype Nexus 3
Overview
Sonatype Nexus Repository OSS provides artifact repository hosting and proxying for the cluster. It serves as the primary private Docker registry where custom images (such as md2pdf, talentpilot, portal, etc.) are pushed and pulled by Kubernetes containerd.
Hostnames & Ports
nexus.babdelka.com: Web UI dashboard (Port 8081).reg.babdelka.com: Docker V2 registry connector (Port 5000).docker.babdelka.com/raw.nexus.babdelka.com: Auxiliary endpoints.
Pushing Images to Nexus
To push custom images to Nexus from the local shell:
# Authenticate (or use existing docker credentials)
docker login reg.babdelka.com
# Tag and push
docker tag my-image:latest reg.babdelka.com/my-image:latest
docker push reg.babdelka.com/my-image:latest
Retrieving Admin Password
kubectl exec -it -n nexus $(kubectl get pods -n nexus -l app=nexus-server -o jsonpath='{.items[0].metadata.name}') -- cat /nexus-data/admin.password