browsertrix/chart/admin/logging/scripts/eck_install.sh
2023-01-04 00:15:23 -08:00

9 lines
331 B
Bash
Executable File

#!/bin/bash
kubectl create namespace btrix-admin
kubectl create -f https://download.elastic.co/downloads/eck/2.5.0/crds.yaml
kubectl apply -f https://download.elastic.co/downloads/eck/2.5.0/operator.yaml
kubectl label nodes docker-desktop nodeType=admin
kubectl get nodes -o wide -o jsonpath='{.items[*].metadata.labels}' | jq .