config/tools/docker/images/Dockerfile
Al Bailey 278fd9ae46 Enable kubernetes SCTPSupport feature
The feature gate for sctp support in apiserver was added in
kubernetes 1.12 but is disabled by default.  This commit enables it.

Information about SCTP is here:
https://kubernetes.io/docs/concepts/services-networking/service/#sctp

The centos version of netcat can be used to validate the feature.
A Dockerfile for building a centos netcat is provided.

Tested by:

kubectl run --generator=run-pod/v1 --image netcat:v1.0.0 \
    listen-sctp -it --rm -- --sctp -l -p 9000

(get IP of the listener pod)
kubectl run --generator=run-pod/v1 --image netcat:v1.0.0 \
   test-sctp -it --rm -- --sctp <listener pod IP> 9000

Change-Id: I9642e485cb9c30f6b1272c00ec1046b9c98211ac
Story: 2006472
Task: 36403
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-03 19:23:05 +00:00

5 lines
63 B
Docker

FROM centos
RUN yum install -y nc
ENTRYPOINT ["nc"]
CMD ["nc"]