Skip to content

Commit

Permalink
optimize default kube runtime config; (#4487)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 authored Jan 16, 2024
1 parent ae7f63f commit 2857df5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/runtime/kubernetes/types/default_kubeadm_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ enforceNodeAllocatable:
eventBurst: 10
eventRecordQPS: 5
evictionHard:
imagefs.available: 15%
imagefs.available: 10%
memory.available: 100Mi
nodefs.available: 10%
nodefs.inodesFree: 5%
Expand All @@ -143,7 +143,7 @@ healthzBindAddress: 0.0.0.0
healthzPort: 10248
httpCheckFrequency: 20s
imageGCHighThresholdPercent: 85
imageGCLowThresholdPercent: 80
imageGCLowThresholdPercent: 75
imageMinimumGCAge: 2m0s
iptablesDropBit: 15
iptablesMasqueradeBit: 14
Expand Down
5 changes: 3 additions & 2 deletions scripts/cloud/build-offline-tar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ mkdir -p output/scripts
echo '
#!/bin/bash
cp cli/sealos /usr/local/bin
for file in tars/*.tar; do
sealos load -i $file
/usr/local/bin/sealos load -i $file
done
cp cli/sealos /usr/local/bin
' > output/scripts/load-images.sh

curl -sfL https://raw.githubusercontent.com/labring/sealos/${CLOUD_VERSION}/scripts/cloud/install.sh -o output/scripts/install.sh
Expand Down

0 comments on commit 2857df5

Please sign in to comment.