Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Kube OVN
Commits
cf4ff8cd
Unverified
Commit
cf4ff8cd
authored
3 years ago
by
张祖建
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1041 from zhangzujian/fix-sts
fix StatefulSet down scale
parents
b765c456
1f5719a5
master
acl
acl-doc
add_unknown_to_lsp
allow-subnet
base/enable-dbg
centralized-policy-route
chore/show-gw-error
chore/size
ci/base-update
ci/retry
ci/trivy
ci/update-kind
cni
db-monitor
debug
delete-qos
delete-qos-queue
doc/optimization
doc/vip
docs/corigine
docs/optimize-cilium
ecmp
env-check
fdb
feat/log
feat/mcast
feat/multicast
fix-base
fix-dnat
fix-resubmit-limit
fix/avx512
fix/ecmp-hash
fix/gw-del
fix/iptables
fix/ipv6-svc
fix/metrics-name
fix/np-log
fix/src-priority
fix/subnet-without-protocol
fix/uninstall
fix_make_kind_reload
gc-vm-lsp
ip
join
klog/v2
log/rotate
ls-dnat-mod-dl-dst
lsp-address
lsp-ipam
mahz-master
monitor/metrics
multus
multus-cni-update
namespace
nat-gw
nbctl
networkpolicy
nodeport
np_master
ns-subnet
ovn-controller
ovn-db-recover
ovs-nonstop
ovs-win64-ci
perf/4.18
perf/libovsdb
perf/optimization
perf/stt
poc
policy-route
port-group
push-img
qos
qos-e2e
qos-query
reflactor_note
release-1.10
release-1.9
release-1.9-monitor
release/prepare-1.9
remove_no_need_parms_svcAsName
restore
revert-1094-vpc-lb
revert-1264-yd-master
revert-1309-fixcni
security/update-ubuntu
sg-acl
stspod
subnet
svc
sync-ovn-db
test/fix-flaky
testing
update-ovs
update/1.7-1.8
update/1.8.2
upgrade-ovs
vm-migrate
vm-static-ip
vpc-nat-gw
webhook
v1.10.7
v1.10.6
v1.10.5
v1.10.4
v1.10.3
v1.10.2
v1.10.1
v1.10.0
v1.9.14
v1.9.13
v1.9.12
v1.9.10
v1.9.9
v1.9.8
v1.9.7
v1.9.6
v1.9.5
v1.9.4
v1.9.3
v1.9.2
v1.9.1
v1.9.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/controller/pod.go
+1
-5
pkg/controller/pod.go
with
1 addition
and
5 deletions
+1
-5
pkg/controller/pod.go
+
1
-
5
View file @
cf4ff8cd
...
...
@@ -826,11 +826,7 @@ func isStatefulSetPodToDel(c kubernetes.Interface, pod *v1.Pod, statefulSetName
return
false
}
if
index
>=
int64
(
*
ss
.
Spec
.
Replicas
)
{
return
true
}
return
false
return
index
>=
int64
(
*
ss
.
Spec
.
Replicas
)
&&
index
>=
int64
(
ss
.
Status
.
Replicas
)
}
func
getNodeTunlIP
(
node
*
v1
.
Node
)
([]
net
.
IP
,
error
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help