{"id":24990309,"url":"https://github.com/fan9704/k3d-efk","last_synced_at":"2026-03-08T21:09:00.557Z","repository":{"id":273180396,"uuid":"918559275","full_name":"fan9704/k3d-EFK","owner":"fan9704","description":"A Simple EFK Course by k3s in docker","archived":false,"fork":false,"pushed_at":"2025-04-29T07:50:18.000Z","size":1041,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T08:39:13.946Z","etag":null,"topics":["efk","elasticstack","k3d","k3s"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/fan9704.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":"2025-01-18T08:45:22.000Z","updated_at":"2025-04-29T07:50:21.000Z","dependencies_parsed_at":"2025-02-23T15:31:53.184Z","dependency_job_id":null,"html_url":"https://github.com/fan9704/k3d-EFK","commit_stats":null,"previous_names":["fan9704/ntust-gdgc-efk","fan9704/k3d-efk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fan9704/k3d-EFK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fk3d-EFK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fk3d-EFK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fk3d-EFK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fk3d-EFK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fan9704","download_url":"https://codeload.github.com/fan9704/k3d-EFK/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fk3d-EFK/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267907966,"owners_count":24164310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["efk","elasticstack","k3d","k3s"],"created_at":"2025-02-04T13:35:26.577Z","updated_at":"2026-03-08T21:09:00.549Z","avatar_url":"https://github.com/fan9704.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Developer Groups on Campus NTUST ElasticStack 課程\n\n\u003e Author FKT\n\n---\n\n## In this course you will learned\n\n1. K3d\n2. Elasticstack\n3. high availability\n4. Elasticsearch DSL\n5. Related DevOps Issues\n6. A litte be Kubernetes\n\n---\n\n## Preview\n\n本次課程完成樣貌，一個自動監控多節點的資源儀表板\n\n![Final](images/image.png)\n![CPU-Memory](images/cpu-memory.png)\n![Disk-Network](images/disk-network.png)\n![Nodes-CPU](images/nodes-cpu.png)\n\n---\n\n## Getting Started\n\n### 1. 安裝 k3d kubectl\n\n```shell=\ncurl https://raw.githubusercontent.com/fan9704/KubernetsInstallScript/refs/heads/master/install_k3d.sh | bash\n```\n\n### 2. 配置 kubectl context\n\n```shell\nexport KUBECONFIG=\"$(k3d kubeconfig write k3s-default)\"\n```\n\n若要長期使用，可以配置到 *.bashrc* or *.zshrc* 末端\n\n### 3. Setup EFK\n\n\n```shell\ngit clone https://github.com/fan9704/k3d-EFK.git\ncd k3d-EFK\ncd efk\nkubectl apply -f .\n```\n\n### 4. PortForwards EFK\n\n先找到你的 Kibana Pod\n```shell\nkubectl get pod\n```\n\n\n```shell\nkubectl port-forward elasticsearch-kibana-XXXX 5601:5601\n```\n\n### 5. Setup Index Pattern\n\n進入 Kibana \u003e Stack Management \u003e Index Pattern\n\n![Index Pattern](images/kibana-index-pattern.png)\n\n### 6. Create Dashboard\n\n進入 Kibana \u003e Dashboard \u003e Create Dashboard\n\n![Create Dashboard](images/kibana-create-dashboard.png)\n\n### 7. Scale up Cluster\n\n新增成三節點分散式 Cluster\n\n```shell\n# 新增節點 1\nk3d node create node-1 -c k3s-default --role agent\n# 新增節點 2\nk3d node create node-2 -c k3s-default --role agent\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fk3d-efk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffan9704%2Fk3d-efk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fk3d-efk/lists"}