Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added --streaming-bind-addr option for cri-dockerd #204

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

@vardhaman22 vardhaman22 requested a review from a team as a code owner August 21, 2024 10:44
entrypoint.sh Outdated
@@ -115,7 +115,16 @@ if [ "$1" = "kubelet" ]; then
if [ "${RKE_KUBELET_CRIDOCKERD_DUALSTACK}" == "true" ]; then
EXTRA_FLAGS="--ipv6-dual-stack"
fi
/opt/rke-tools/bin/cri-dockerd --network-plugin="cni" --cni-conf-dir="/etc/cni/net.d" --cni-bin-dir="/opt/cni/bin" ${RKE_KUBELET_PAUSEIMAGE} --container-runtime-endpoint=$CONTAINER_RUNTIME_ENDPOINT ${EXTRA_FLAGS} &
STREAM_SERVER_ADDRESS=$(echo "$@" | grep -Eo "\-\-stream-server-address+.*" | awk '{print $1}' | cut -d "=" -f2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a PR in RKE that sets --stream-server-address from cluster.yml?

Copy link
Contributor Author

@vardhaman22 vardhaman22 Aug 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually i was working on that and then realised that these options can not be sent as command Args and has to be passed through environment since all the cli options are passed to kubelet command because of which kubelet startup fails.
I have updated it here and also created a rke PR accordingly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya if you add it in commandArgs, it'd need to be filtered out before starting kubelet. thanks for fixing it in rke!

@vardhaman22 vardhaman22 merged commit 817e581 into rancher:master Aug 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants