diff --git a/local/kubernetes/tools/logging/kibana-index/build_deploy.sh b/local/kubernetes/tools/logging/kibana-index/build_deploy.sh index 623a97ad..e8c4b774 100755 --- a/local/kubernetes/tools/logging/kibana-index/build_deploy.sh +++ b/local/kubernetes/tools/logging/kibana-index/build_deploy.sh @@ -4,9 +4,10 @@ set -euo pipefail dir="$(dirname "$0")" namespace="$1" -TAG="gcr.io/olly-2021-k8s-migration/kibana-index:latest" +CLUSTER_NAME=o11y-stack +TAG="local/kibana-index:latest" docker build "$dir" -t "$TAG" -docker push "$TAG" +k3d image import -c "$CLUSTER_NAME" "$TAG" kubectl apply -n "$namespace" -f "$dir/job.yaml" \ No newline at end of file diff --git a/local/kubernetes/tools/logging/kibana-index/job.yaml b/local/kubernetes/tools/logging/kibana-index/job.yaml index a9d04b63..455a01b8 100644 --- a/local/kubernetes/tools/logging/kibana-index/job.yaml +++ b/local/kubernetes/tools/logging/kibana-index/job.yaml @@ -9,7 +9,7 @@ spec: spec: containers: - name: kibana-index - image: gcr.io/olly-2021-k8s-migration/kibana-index:latest - imagePullPolicy: Always + image: local/kibana-index:latest + imagePullPolicy: Never # Imported via k3d image import restartPolicy: OnFailure backoffLimit: 4