Skip to content

Commit

Permalink
Merge pull request #146 from feature-creeps/fix-local-elastic-index-c…
Browse files Browse the repository at this point in the history
…reation

Fix local elastic index creation
  • Loading branch information
marcel-henrich-mw authored Oct 11, 2023
2 parents eec18ed + 12ab5bb commit 85f50ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions local/kubernetes/tools/logging/kibana-index/build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions local/kubernetes/tools/logging/kibana-index/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 85f50ae

Please sign in to comment.