mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #75246 from aojea/e2e_ipv6_prestop
Add IPv6 support to the nettest image
This commit is contained in:
commit
fd5560e90a
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM scratch
|
FROM gcr.io/distroless/static:latest
|
||||||
COPY nettest /
|
COPY nettest /
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["/nettest"]
|
ENTRYPOINT ["/nettest"]
|
||||||
|
@ -1 +1 @@
|
|||||||
1.0
|
1.1
|
||||||
|
@ -210,7 +210,7 @@ func main() {
|
|||||||
http.HandleFunc("/write", state.serveWrite)
|
http.HandleFunc("/write", state.serveWrite)
|
||||||
http.HandleFunc("/status", state.serveStatus)
|
http.HandleFunc("/status", state.serveStatus)
|
||||||
|
|
||||||
go log.Fatal(http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", *port), nil))
|
go log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
||||||
|
|
||||||
select {}
|
select {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user