-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spidercoordinator: It able to get CIDR from kubeadm-config
If the kube-controller-manager Pod is running as systemd precess rather than Pod, In this case, We can't get the CIDR from the KCM Pod. We can get the CIDR from the kubeadm-config configMap. Signed-off-by: cyclinder <[email protected]>
- Loading branch information
Showing
10 changed files
with
721 additions
and
53 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
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# E2E Cases for spidercoordinator | ||
|
||
| Case ID | Title | Priority | Smoke | Status | Other | | ||
| ------- | ------------------------------------------------------------------------ | -------- | ----- | ------ | ----- | | ||
| V00001 | Switch podClusterType to `auto`, see if it could auto fetch the type | p3 | | | | | ||
| V00002 | Switch podClusterType to `auto` but no cni files in /etc/cni/net.d, see if the phase is NotReady | p3 | | | | | ||
| V00003 | Switch podClusterType to `calico`, see if it could auto fetch the cidr from calico ippools | p3 | | | | | ||
| V00004 | Switch podClusterType to `cilium`, see if it works in ipam-mode: [cluster-pool,kubernetes,multi-pool] | p3 | | | | | ||
| V00005 | Switch podClusterType to `none`, expect the cidr of status to be empty | p3 | | | | | ||
| V00006 | status.phase is not-ready, expect the cidr of status to be empty | p3 | | | | | ||
| V00007 | spidercoordinator has the lowest priority | p3 | | | | | ||
| V00008 | status.phase is not-ready, pods will fail to run | p3 | | | | | ||
| Case ID | Title | Priority | Smoke | Status | Other | | ||
| ------- | --------------------------------------------------------------------------------------------------------- | -------- | ----- | ------ | ----- | | ||
| V00001 | Switch podCIDRType to `auto`, see if it could auto fetch the type | p3 | | done | | | ||
| V00002 | Switch podCIDRType to `auto` but no cni files in /etc/cni/net.d, Viewing should be consistent with `none` | p3 | | done | | | ||
| V00003 | Switch podCIDRType to `calico`, see if it could auto fetch the cidr from calico ippools | p3 | | done | | | ||
| V00004 | Switch podCIDRType to `cilium`, see if it works in ipam-mode: [cluster-pool,kubernetes,multi-pool] | p3 | | done | | | ||
| V00005 | Switch podCIDRType to `none`, expect the cidr of status to be empty | p3 | | done | | | ||
| V00006 | status.phase is not-ready, expect the cidr of status to be empty | p3 | | done | | | ||
| V00007 | spidercoordinator has the lowest priority | p3 | | done | | | ||
| V00008 | status.phase is not-ready, pods will fail to run | p3 | | done | | | ||
| V00009 | it can get the clusterCIDR from kubeadmConfig or kube-controller-manager pod | p3 | | done| |
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
Oops, something went wrong.