Files

70 lines
1.1 KiB
Markdown

# zot — OCI Container Registry
Namespace: `zot`
Domain: `zot.immich-ad.ovh`
https://zotregistry.dev/v2.1.15/install-guides/install-guide-k8s/
## Helm repo
```bash
helm repo add zot https://zotregistry.dev/helm-charts
helm repo update
```
## Storage — create directory and PV first
```bash
sudo mkdir -p /storage/zot/data
kubectl apply -f pv-zot.yaml
```
## Install / Upgrade / Delete
```bash
# Install
helm install zot zot/zot -n zot --create-namespace -f values.yaml
# Upgrade
helm upgrade zot zot/zot -n zot -f values.yaml
# Delete
helm uninstall zot -n zot
```
## Check PV / PVC
```bash
kubectl get pv pv-zot-data
kubectl get pvc -n zot
```
## Pod / Service status
```bash
kubectl get pods -n zot
kubectl get svc -n zot
kubectl describe pod -n zot -l app.kubernetes.io/name=zot
```
## Logs
```bash
kubectl logs -n zot -l app.kubernetes.io/name=zot --prefix
```
## Certificate
```bash
kubectl get certificate -n zot
kubectl describe certificate zot-tls -n zot
kubectl get challenges -n zot
```
## Test registry access
```bash
# Ping the API (replace with actual node IP if testing from outside)
curl https://zot.immich-ad.ovh/v2/
```