{"id":44103179,"url":"https://github.com/conradwt/metallb-test","last_synced_at":"2026-02-08T14:37:43.828Z","repository":{"id":244897742,"uuid":"816599632","full_name":"conradwt/metallb-test","owner":"conradwt","description":"MetalLB Test","archived":false,"fork":false,"pushed_at":"2024-06-24T07:09:16.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-24T08:32:04.745Z","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/conradwt.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":"2024-06-18T04:12:04.000Z","updated_at":"2024-06-24T07:09:16.000Z","dependencies_parsed_at":"2024-06-24T08:31:19.817Z","dependency_job_id":null,"html_url":"https://github.com/conradwt/metallb-test","commit_stats":null,"previous_names":["conradwt/metallb-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/conradwt/metallb-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Fmetallb-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Fmetallb-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Fmetallb-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Fmetallb-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conradwt","download_url":"https://codeload.github.com/conradwt/metallb-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conradwt%2Fmetallb-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29233476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: 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":"2026-02-08T14:37:43.249Z","updated_at":"2026-02-08T14:37:43.820Z","avatar_url":"https://github.com/conradwt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# MetalLB Test\n\n## Software Requirements\n\n- Minikube v1.33.1 or newer\n\n- OrbStack v1.6.2 or newer\n\nNote: This tutorial was updated on macOS 14.5.  The below steps doesn't work with Docker Desktop v4.31.1 because it doesn't expose Linux VM IP addresses to the host OS (i.e. macOS).\n\n## Steps To Reproduce\n\n1.  create Minikube cluster\n\n    ```zsh\n    minikube start -p metallb-test\n    ```\n\n2.  install MetalLB\n\n    ```zsh\n    kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.5/config/manifests/metallb-native.yaml\n    ```\n\n3.  clone github repository\n\n    ```zsh\n    git clone https://github.com/conradwt/metallb-test.git\n    ```\n\n4.  change directory\n\n    ```zsh\n    cd metallb-test\n    ```\n\n5.  locate the subnet\n\n    ```zsh\n    docker network inspect metallb-test | jq '.[0].IPAM.Config[0][\"Subnet\"]'\n    ```\n\n    Note: This grabs the Subnet value from the first config block and it should\n    look something like the following:\n\n    ```json\n    {\n      ...\n\n      \"Config\": [\n        {\n          \"Subnet\": \"194.1.2.0/24\",\n          \"Gateway\": \"194.1.2.1\"\n        }\n      ]\n      ...\n    }\n    ```\n\n    Then one can use an IP address range like the following:\n\n    ```\n    194.1.2.100-194.1.2.110\n    ```\n\n6.  update the `metallb-address-pool.yaml`\n\n    ```yaml\n    apiVersion: metallb.io/v1beta1\n    kind: IPAddressPool\n    metadata:\n      name: demo-pool\n      namespace: metallb-system\n    spec:\n      addresses:\n        - 194.1.2.100-194.1.2.110\n    ```\n\n7.  apply the address pool manifest\n\n    ```zsh\n    kubectl apply -f metallb-address-pool.yaml\n    ```\n\n8.  apply Layer 2 advertisement manifest\n\n    ```zsh\n    kubectl apply -f metallb-advertise.yaml\n    ```\n\n9.  apply deployment manifest\n\n    ```zsh\n    kubectl apply -f nginx-deployment.yaml\n    ```\n\n10. apply service manifest\n\n    ```zsh\n    kubectl apply -f nginx-service-loadbalancer.yaml\n    ```\n\n11. check that your service has an IP address\n\n    ```zsh\n    kubectl get svc nginx-service\n    ```\n\n    example output\n\n    ```text\n    NAME            TYPE           CLUSTER-IP       EXTERNAL-IP      PORT(S)        AGE\n    nginx-service   LoadBalancer   10.106.207.172   194.1.2.100   80:32000/TCP   17h\n    ```\n\n12. expected output\n\n    input:\n\n    ```zsh\n    curl 194.1.2.100\n    ```\n\n    output:\n\n    ```text\n    \u003c!DOCTYPE html\u003e\n    \u003chtml\u003e\n    \u003chead\u003e\n    \u003ctitle\u003eWelcome to nginx!\u003c/title\u003e\n    \u003cstyle\u003e\n    html { color-scheme: light dark; }\n    body { width: 35em; margin: 0 auto;\n    font-family: Tahoma, Verdana, Arial, sans-serif; }\n    \u003c/style\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n    \u003ch1\u003eWelcome to nginx!\u003c/h1\u003e\n    \u003cp\u003eIf you see this page, the nginx web server is successfully installed and\n    working. Further configuration is required.\u003c/p\u003e\n\n    \u003cp\u003eFor online documentation and support please refer to\n    \u003ca href=\"http://nginx.org/\"\u003enginx.org\u003c/a\u003e.\u003cbr/\u003e\n    Commercial support is available at\n    \u003ca href=\"http://nginx.com/\"\u003enginx.com\u003c/a\u003e.\u003c/p\u003e\n\n    \u003cp\u003e\u003cem\u003eThank you for using nginx.\u003c/em\u003e\u003c/p\u003e\n    \u003c/body\u003e\n    \u003c/html\u003e\n    ```\n\n13. actual output\n\n    input:\n\n    ```zsh\n    curl 194.1.2.100\n    ```\n\n    output:\n\n    ```text\n    curl: (28) Failed to connect to 194.1.2.100 port 80 after 75001 ms: Couldn't connect to server\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconradwt%2Fmetallb-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconradwt%2Fmetallb-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconradwt%2Fmetallb-test/lists"}