-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. add ko reload function 2. add upgrade scripts 3. optimize install experience
- Loading branch information
Showing
4 changed files
with
147 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
|
||
IMAGE=kubeovn/kube-ovn:v1.8.1 | ||
|
||
echo "[Step 0/5] Update ovn-central" | ||
kubectl set image deployment/ovn-central -n kube-system ovn-central="$IMAGE" | ||
kubectl rollout status deployment/ovn-central -n kube-system | ||
|
||
echo "[Step 1/5] Update ovs-ovn" | ||
kubectl set image ds/ovs-ovn -n kube-system openvswitch="$IMAGE" | ||
|
||
echo "[Step 2/5] Update kube-ovn-controller" | ||
kubectl set image deployment/kube-ovn-controller -n kube-system kube-ovn-controller="$IMAGE" | ||
kubectl rollout status deployment/kube-ovn-controller -n kube-system | ||
|
||
echo "[Step 3/5] Update kube-ovn-cni" | ||
kubectl set image ds/kube-ovn-cni -n kube-system cni-server="$IMAGE" | ||
kubectl rollout status daemonset/kube-ovn-cni -n kube-system | ||
|
||
echo "[Step 4/5] Update kube-ovn-pinger" | ||
kubectl patch ds/kube-ovn-pinger -n kube-system --type='json' -p='[{"op": "remove", "path": "/spec/template/spec/tolerations"}]' | ||
kubectl set image ds/kube-ovn-pinger -n kube-system pinger="$IMAGE" | ||
kubectl rollout status daemonset/kube-ovn-pinger -n kube-system | ||
|
||
echo "[Step 5/5] Update kube-ovn-monitor" | ||
kubectl set image deployment/kube-ovn-monitor -n kube-system kube-ovn-monitor="$IMAGE" | ||
kubectl rollout status deployment/kube-ovn-monitor -n kube-system | ||
|
||
echo "Update Success!" | ||
echo " | ||
,,,, | ||
,::, | ||
,,::,,,, | ||
,,,,,::::::::::::,,,,, | ||
,,,::::::::::::::::::::::,,, | ||
,,::::::::::::::::::::::::::::,, | ||
,,::::::::::::::::::::::::::::::::,, | ||
,::::::::::::::::::::::::::::::::::::, | ||
,:::::::::::::,, ,,:::::,,,::::::::::, | ||
,,:::::::::::::, ,::, ,:::::::::, | ||
,:::::::::::::, :x, ,:: :, ,:::::::::, | ||
,:::::::::::::::, ,,, ,::, ,, ,::::::::::, | ||
,:::::::::::::::::,,,,,,:::::,,,,::::::::::::, ,:, ,:, ,xx, ,:::::, ,:, ,:: :::, ,x | ||
,::::::::::::::::::::::::::::::::::::::::::::, :x: ,:xx: , :xx, :xxxxxxxxx, :xx, ,xx:,xxxx, :x | ||
,::::::::::::::::::::::::::::::::::::::::::::, :xxxxx:, ,xx, :x: :xxx:x::, ::xxxx: :xx:, ,:xxx :xx, ,xx: ,xxxxx:, :x | ||
,::::::::::::::::::::::::::::::::::::::::::::, :xxxxx, :xx, :x: :xxx,,:xx,:xx:,:xx, ,,,,,,,,,xxx, ,xx: :xx:xx: ,xxx,:xx::x | ||
,::::::,,::::::::,,::::::::,,:::::::,,,::::::, :x:,xxx: ,xx, :xx :xx: ,xx,xxxxxx:, ,xxxxxxx:,xxx:, ,xxx, :xxx: ,xxx, :xxxx | ||
,::::, ,::::, ,:::::, ,,::::, ,::::, :x: ,:xx,,:xx::xxxx,,xxx::xx: :xx::::x: ,,,,,, ,xxxxxxxxx, ,xx: ,xxx, :xxx | ||
,::::, ,::::, ,::::, ,::::, ,::::, ,:, ,:, ,,::,,:, ,::::,, ,:::::, ,,:::::, ,, :x: ,:: | ||
,::::, ,::::, ,::::, ,::::, ,::::, | ||
,,,,, ,::::, ,::::, ,::::, ,:::, ,,,,,,,,,,,,, | ||
,::::, ,::::, ,::::, ,:::, ,,,:::::::::::::::, | ||
,::::, ,::::, ,::::, ,::::, ,,,,:::::::::,,,,,,,:::, | ||
,::::, ,::::, ,::::, ,::::::::::::,,,,, | ||
,,,, ,::::, ,,,, ,,,::::,,,, | ||
,::::, | ||
,,::, | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters