Skip to content

Commit

Permalink
Merge pull request #195 from es1o/k3s
Browse files Browse the repository at this point in the history
Włączenie dual-stack w skrypcie używanym do stawania k3s
  • Loading branch information
loper authored Oct 19, 2023
2 parents fc97cf6 + 10cb786 commit c8b6974
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/chce_k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cp "$SERVICE_FILE" "${SERVICE_FILE}.bak"
# dodanie poprawki do pliku
sed -i '$d' "$SERVICE_FILE"
cat <<EOF >>"$SERVICE_FILE"
--cluster-cidr=10.42.0.0/16,2001:cafe:42:0::/56 \\
--service-cidr=10.43.0.0/16,2001:cafe:42:1::/112 \\
--kubelet-arg=feature-gates=KubeletInUserNamespace=true \\
--kube-controller-manager-arg=feature-gates=KubeletInUserNamespace=true \\
--kube-apiserver-arg=feature-gates=KubeletInUserNamespace=true \\
Expand Down

0 comments on commit c8b6974

Please sign in to comment.