Deploy Elastic Cloud on airgapped K8s.
- Clone the repo
git clone https://github.com/rishabh96b/eck-airgapped.git
- Create image artifacts locally by running
~ cd eck-resources/
~ ./build-images.sh
You can skip the
./build-images.sh
step if you have downloaded eck-airgapped bundle from AWS S3 bucket.
- Transfer the
eck-resources
folder to the bastion host usingscp
scp -ro StrictHostKeyChecking=accept-new ~/path-to/eck-airgapped/eck-resources $USER@$HOST:/path-to/eck-resources
- Go inside the
eck-resouces
dir and run./eck.sh
NOTE: The elasticsearch deployment assumes the availaibility of
awsebscsiprovisioner
storage class and the claims of appx 100Gi for both index and data nodes individually. Please review the templates in theeck-resources/templates/
directory and modify the configuration as per the requirement.
./eck.sh init --registry 10.0.0.1:5000
- This will get the registry and retag the docker images and push to local registry.
- It will also parse the template files will the retagged images.
./eck.sh install operator
- Installs eck operator with default options
./eck.sh install elasticsearch
- Installs elasticsearch with default options
./eck.sh install kibana
- Installs kibana with default options
./eck.sh logs operator
- Show the logs for deployed eck operator
It is highly recommended to go the official ECK documentation for in-depth references.
- How to re-initialize the registry url in case it was incorrect?
Ans: Delete the eck-resources/deployment
folder and run ./eck.sh init --registry <my-registry>