Skip to content

Commit

Permalink
dump all pods
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <kmuldoon@vmware.com>
  • Loading branch information
killianmuldoon committed Sep 15, 2023
1 parent cb22353 commit 148366a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,25 @@ spec:
path: "/spec/template/spec/preLoadImages"
valueFrom:
variable: preLoadImages
- name: preloadImagesMP
description: |
Sets the container images to preload to the node that is used for running dockerMachines.
This is especially required for self-hosted e2e tests to ensure the required controller images to be available
and reduce load to public registries.
definitions:
- selector:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: DockerMachinePoolTemplate
matchResources:
machinePoolClass:
names:
- default-worker
jsonPatches:
- op: add
path: "/spec/template/spec/template/preLoadImages"
valueFrom:
variable: preLoadImages

- name: kubeadmControlPlaneMaxSurge
description: "Sets the maxSurge value used for rolloutStrategy in the KubeadmControlPlane."
enabledIf: '{{ ne .kubeadmControlPlaneMaxSurge "" }}'
Expand Down
2 changes: 1 addition & 1 deletion test/framework/alltypes_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func DumpKubeSystemPodsForCluster(ctx context.Context, input DumpKubeSystemPodsF
podList.SetKind("Pod")
var listErr error
_ = wait.PollUntilContextTimeout(ctx, retryableOperationInterval, retryableOperationTimeout, true, func(ctx context.Context) (bool, error) {
if listErr = input.Lister.List(ctx, podList, client.InNamespace(metav1.NamespaceSystem)); listErr != nil {
if listErr = input.Lister.List(ctx, podList); listErr != nil {
return false, nil //nolint:nilerr
}
return true, nil
Expand Down

0 comments on commit 148366a

Please sign in to comment.