{"id":19549075,"url":"https://github.com/dtaivpp/bottlerocket-opensearch","last_synced_at":"2026-02-09T12:05:06.829Z","repository":{"id":193583578,"uuid":"689008706","full_name":"dtaivpp/bottlerocket-opensearch","owner":"dtaivpp","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-31T16:26:04.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T13:56:51.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtaivpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-08T15:22:13.000Z","updated_at":"2023-09-08T15:22:13.000Z","dependencies_parsed_at":"2023-09-08T21:51:50.010Z","dependency_job_id":"311aa57e-4199-42ab-b2b9-24401d43938c","html_url":"https://github.com/dtaivpp/bottlerocket-opensearch","commit_stats":null,"previous_names":["dtaivpp/bottlerocket-opensearch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dtaivpp/bottlerocket-opensearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fbottlerocket-opensearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fbottlerocket-opensearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fbottlerocket-opensearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fbottlerocket-opensearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtaivpp","download_url":"https://codeload.github.com/dtaivpp/bottlerocket-opensearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaivpp%2Fbottlerocket-opensearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29264181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T03:57:51.585Z","updated_at":"2026-02-09T12:05:06.801Z","avatar_url":"https://github.com/dtaivpp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# BottleRocket + OpenSearch Demo!\n\nPre-requisites\n```bash\nbrew install eksctl, kubectl, awscli, yq\n```\n\nDeploys a cluster based around the `bottlerocket-quickstart-eks.yaml` config. This deploys 5 m5.2xlarge nodes using the bottle rocket AMI and CloudFormation templates.\n```bash\neksctl create cluster -f bottlerocket-quickstart-eks.yaml\n```\n\n## Installing OpenSearch\nAdd and install the OpenSearch Operator.\n```bash\nhelm repo add opensearch-operator https://opster.github.io/opensearch-k8s-operator/\nhelm install opensearch-operator opensearch-operator/opensearch-operator\n```\n\nDeploy the cluster according to the config. \n```bash\nkubectl apply -f opensearch-cluster.yaml\n```\n\nWait for all 3 OpenSearch nodes and 1 OpenSearch dashboard nodes to be ready. \n```bash\nwatch -n 2 kubectl get pods\n```\n\n## Ingress Controller\nCreate the policy for EKS to be able to create application load balanacers. \n```bash\naws iam create-policy \\\n    --policy-name AWSLoadBalancerControllerIAMPolicy \\\n    --policy-document file://iam_policy.json\n```\n\nQuick stript to get the caller identity for use in the next step.\n```bash\nexport DEMOACCOUNT=$(aws sts get-caller-identity | yq e '.Account' -)\n```\n\nCreate a service account that will allow EKS to spin up load balancers. \n```bash\neksctl create iamserviceaccount \\\n --cluster=bottlerocket-opensearch \\\n --namespace=kube-system \\\n --name=aws-load-balancer-controller-beta \\\n --role-name \"AmazonEKSLoadBalancerControllerRole\" \\\n --attach-policy-arn=arn:aws:iam::$(echo $DEMOACCOUNT):policy/AWSLoadBalancerControllerIAMPolicy \\\n --region=us-east-2 \\\n --override-existing-serviceaccounts \\\n --approve\n```\n\nAssociate the identity provider. \n```bash\neksctl utils associate-iam-oidc-provider \\\n --region=us-east-2 \\\n --cluster=bottlerocket-opensearch \\\n --approve\n```\n\nAdd the EKS charts for the load balancers. \n```bash\nhelm repo add eks https://aws.github.io/eks-charts\nhelm install aws-load-balancer-controller eks/aws-load-balancer-controller \\\n  -n kube-system \\\n --set clusterName=bottlerocket-opensearch \\\n --set serviceAccount.create=false \\\n --set serviceAccount.name=aws-load-balancer-controller-beta\n```\n\nValidate they are deployed\n```bash\nkubectl describe deploy aws-load-balancer-controller\n```\n\nCreate ingress for the dashboards. \n```bash\nkubectl apply -f dashboards-ingress.yaml\n```\n\nFind the ingress URL for OpenSearch\n```bash\nkubectl get ingress/ingress-dashboards -n default -o yaml | yq e '.status.loadBalancer.ingress[0].hostname' -\n```\n\n## Fluentbit Setup\nAdd opensearch username/pw for Fluent-Bit to consume\n```bash\nkubectl create secret generic opensearchpass \\\n--from-literal=username=admin \\\n--from-literal=password=admin\n```\n\nInstall the fluentbit operator\n```bash\nhelm install fluent-operator --create-namespace -n fluent charts/fluent-operator/  --set containerRuntime=containerd\n```\n\nDeploy the fluentbit daemonset\n```bash\nkubectl apply -f fluentbit-daemonset.yaml \n```\n\n\n## Util Commands\n```bash\nkubectl port-forward\n```\n\nGetting the Kubeconfig\n```bash\neksctl utils write-kubeconfig -f bottlerocket-quickstart-eks.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaivpp%2Fbottlerocket-opensearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtaivpp%2Fbottlerocket-opensearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaivpp%2Fbottlerocket-opensearch/lists"}