项目作者: rishabh96b

项目描述 :
Deploy Elastic Cloud on air-gapped K8s.
高级语言: Shell
项目地址: git://github.com/rishabh96b/eck-airgapped.git
创建时间: 2021-05-10T12:25:51Z
项目社区:https://github.com/rishabh96b/eck-airgapped

开源协议:

下载


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

    1. ~ cd eck-resources/
    2. ~ ./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

    1. 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 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 <my-registry>