René's URL Explorer Experiment


Title: Add IPv6/dual-stack support: Operator-rendered and metrics server commands both hardcode 0.0.0.0 · Issue #6862 · feast-dev/feast · GitHub

Open Graph Title: Add IPv6/dual-stack support: Operator-rendered and metrics server commands both hardcode 0.0.0.0 · Issue #6862 · feast-dev/feast

X Title: Add IPv6/dual-stack support: Operator-rendered and metrics server commands both hardcode 0.0.0.0 · Issue #6862 · feast-dev/feast

Description: Is your feature request related to a problem? Please describe. Yes, in two places, both hardcoding an IPv4-only bind: start_metrics_server() binds via wsgiref.simple_server.make_server("", port, ...), which defaults socketserver.TCPServe...

Open Graph Description: Is your feature request related to a problem? Please describe. Yes, in two places, both hardcoding an IPv4-only bind: start_metrics_server() binds via wsgiref.simple_server.make_server("", port, .....

X Description: Is your feature request related to a problem? Please describe. Yes, in two places, both hardcoding an IPv4-only bind: start_metrics_server() binds via wsgiref.simple_server.make_server(""...

Opengraph URL: https://github.com/feast-dev/feast/issues/6862

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add IPv6/dual-stack support: Operator-rendered and metrics server commands both hardcode 0.0.0.0","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nYes, in two places, both hardcoding an IPv4-only bind:\n\n1. [`start_metrics_server()`](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/metrics.py)\n   binds via `wsgiref.simple_server.make_server(\"\", port, ...)`, which defaults\n   `socketserver.TCPServer.address_family` to `socket.AF_INET`. On our IPv6-primary cluster,\n   Istio's sidecar scrapes the pod's IPv6 address and gets connection refused — confirmed via\n   Envoy access logs (`503 delayed_connect_error:_Connection_refused` on every scrape), while\n   `curl localhost:8000/metrics` from inside the same container succeeds every time.\n\n2. The Feast Operator's\n   [`getContainerCommand()`](https://github.com/feast-dev/feast/blob/master/infra/feast-operator/internal/controller/services/services.go#L725)\n   hardcodes `-h 0.0.0.0` in the startup command of every service container it renders (`online`,\n   `ui`, `offline`, `lineage`), with no CRD field to change it. On the same IPv6-only cluster, none\n   of these servers bind an address anything can reach.\n\nWe work around (2.) today with a Kyverno `ClusterPolicy` that rewrites each container's `command`\nat admission time — functional, but fragile: it doesn't self-heal already-running Deployments\n(`skipBackgroundRequests: true`), and an earlier version of this exact policy replaced the entire\ncommand with a hardcoded string instead of mapping over the operator's own argv, silently\ndropping `--workers`, `--metrics`, and other flags for months before we caught it.\n\n**Describe the solution you'd like**\n\n`feast.metrics.start_metrics_server()` — bind dual-stack instead of IPv4-only:\n\n```python\nimport socket\nfrom wsgiref.simple_server import WSGIServer, make_server\n\nclass DualStackWSGIServer(WSGIServer):\n    address_family = socket.AF_INET6\n\n    def server_bind(self):\n        self.socket.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)\n        super().server_bind()\n\nhttpd = make_server(\"::\", port, app, server_class=DualStackWSGIServer)\n```\n\nStill works on IPv4-only hosts — Linux dual-stack sockets fall back cleanly with\n`net.ipv6.bindv6only=0`, the default.\n\nFeast Operator — add a `BindAddress`/`DualStack` field to `ServerConfigs` (parallel to other\nper-service settings) that `getContainerCommand()` uses instead of the hardcoded `0.0.0.0`\nliteral, accounting for the uvicorn-based `ui`/`lineage` servers rejecting a bracketed host (`::`)\nunlike the gunicorn/Flight servers (`[::]`).\n\n**Describe alternatives you've considered**\n\nFor the Operator half: the Kyverno `ClusterPolicy` above. It works, but every environment that\nneeds IPv6 needs Kyverno installed and a policy kept in lockstep with the Operator's own\ncommand-building logic, and a bug in the policy (we've had one) doesn't self-heal already-running\nDeployments.\n\n\nAdditional context\n\n\n**Test plan**\n\n- [ ] `start_metrics_server()` binds successfully and serves `/metrics` over both `127.0.0.1` and\n      `::1` on a dual-stack host.\n- [ ] Same binary still starts on an IPv4-only host (no IPv6 stack).\n- [ ] A `FeatureStore` CR setting the new bind-address field renders the configured address in\n      each affected container's command.","author":{"url":"https://github.com/dbbvitor","@type":"Person","name":"dbbvitor"},"datePublished":"2026-09-24T15:17:36Z","url":"https://github.com/feast-dev/feast/issues/6862"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0258fb8b-3ebe-b844-be36-8ca61c65ba81
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD6FA:22FF8D:29E84A:39FE6A:6AFE981B
html-safe-nonce71ff607e12fdff8f4fd999f3ebe119a6240b31c63d7a88cc1531fc46e9f11528
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkZBOjIyRkY4RDoyOUU4NEE6MzlGRTZBOjZBRkU5ODFCIiwidmlzaXRvcl9pZCI6IjQ3MDg2OTI4MTI5OTQ4Nzc0NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfa1529633c0db3bfc2ef0efe6cb0ad411b0c0af6fe8e3c1e0d8bd12186f9935a
hovercard-subject-tagissue:5570522382
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6862/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eb32b08c0569c039086d07ad4bba6eb428b4fcc30e59df9277696f51eac9b6b9/feast-dev/feast/issues/6862
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb32b08c0569c039086d07ad4bba6eb428b4fcc30e59df9277696f51eac9b6b9/feast-dev/feast/issues/6862
og:image:altIs your feature request related to a problem? Please describe. Yes, in two places, both hardcoding an IPv4-only bind: start_metrics_server() binds via wsgiref.simple_server.make_server("", port, .....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedbbvitor
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/6862#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6862
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F6862
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/6862
Reloadhttps://github.com/feast-dev/feast/issues/6862
Reloadhttps://github.com/feast-dev/feast/issues/6862
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6862
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6862
Add IPv6/dual-stack support: Operator-rendered and metrics server commands both hardcode 0.0.0.0https://github.com/feast-dev/feast/issues/6862#top
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
https://github.com/dbbvitor
dbbvitorhttps://github.com/dbbvitor
on Sep 24, 2026https://github.com/feast-dev/feast/issues/6862#issue-5570522382
start_metrics_server()https://github.com/feast-dev/feast/blob/master/sdk/python/feast/metrics.py
getContainerCommand()https://github.com/feast-dev/feast/blob/master/infra/feast-operator/internal/controller/services/services.go#L725
dbbvitorhttps://github.com/dbbvitor
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
on Sep 24, 2026https://github.com/feast-dev/feast/issues/6862#event-31768227475
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/6862
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/6862
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.