1
0
forked from k-space/kube
kube/camtiler
2024-07-27 03:17:24 +03:00
..
.gitignore Initial commit 2022-08-25 11:22:50 +03:00
application.yml fix(camtiler): increase minio bucket quota to 150Gi 2024-02-23 15:54:52 +02:00
camera-tiler.yml camtiler: Fix scheduling issues 2022-12-23 23:32:18 +02:00
ingress.yml migrate to new passmower 2024-07-27 03:17:24 +03:00
logmower.yml fix(camtiler): add temporary ingress for camtiler dedicated s3 2024-02-22 12:43:20 +02:00
mongodb-support.yml Initial commit 2022-08-25 11:22:50 +03:00
mongodb.yml hotfix: double camtiler storage 2024-02-03 12:31:51 +02:00
mongoexpress.yml Initial commit 2022-08-25 11:22:50 +03:00
network-policies.yml fix(camtiler): disable broken egress network policies 2024-02-22 12:43:20 +02:00
networkpolicy-base.yml Initial commit 2022-08-25 11:22:50 +03:00
README.md camtiler: Updates 2023-05-18 22:55:40 +03:00

To apply changes:

kubectl apply -n camtiler \
  -f application.yml \
  -f minio.yml \
  -f mongoexpress.yml \
  -f mongodb-support.yml \
  -f camera-tiler.yml \
  -f logmower.yml \
  -f ingress.yml \
  -f network-policies.yml \
  -f networkpolicy-base.yml

To deploy changes:

kubectl -n camtiler rollout restart deployment.apps/camtiler

To initialize secrets:

kubectl create secret generic -n camtiler mongodb-application-readwrite-password --from-literal="password=$(cat /dev/urandom | base64 | head -c 30)"
kubectl create secret generic -n camtiler mongodb-application-readonly-password --from-literal="password=$(cat /dev/urandom | base64 | head -c 30)"
kubectl create secret generic -n camtiler minio-secrets \
    --from-literal="MINIO_ROOT_USER=root" \
    --from-literal="MINIO_ROOT_PASSWORD=$(cat /dev/urandom | base64 | head -c 30)"
kubectl -n camtiler create secret generic camera-secrets \
    --from-literal=username=... \
    --from-literal=password=...

To restart all deployments:

for j in $(kubectl get deployments -n camtiler -o name); do kubectl rollout restart -n camtiler $j; done