Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rishabh96b/eck-airgapped

Deploy Elastic Cloud on air-gapped K8s.
https://github.com/rishabh96b/eck-airgapped

airgapped apm eck elastic elasticsearch k8s kibana kubernetes

Last synced: 19 days ago
JSON representation

Deploy Elastic Cloud on air-gapped K8s.

Awesome Lists containing this project

README

        

# eck-airgapped
Deploy Elastic Cloud on airgapped K8s.

## Getting Started
1. Clone the repo `git clone https://github.com/rishabh96b/eck-airgapped.git`
2. Create image artifacts locally by running
```bash
~ 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.

3. Transfer the `eck-resources` folder to the bastion host using `scp`
```bash
scp -ro StrictHostKeyChecking=accept-new ~/path-to/eck-airgapped/eck-resources $USER@$HOST:/path-to/eck-resources
```
4. 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 the `eck-resources/templates/` directory and modify the configuration as per the requirement.

### Commands
- `./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

### Resources
It is highly recommended to go the official [ECK documentation](https://www.elastic.co/guide/en/cloud-on-k8s/current/index.html) for in-depth references.

### FAQs
1. 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 `