You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(chore): cluster shows not ready when node unschedulable
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
(chore): set ready false when all nodes are not ready
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
(chore): e2e test node not ready
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
(chore): set not ready only when all nodes are not ready
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
(chore): set PayloadSchedulable condition
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
Automatic generation of CRD API Docs
(chore): fix eventually
Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
// Can only reconcile detailed status if kubeconfig is valid.
57
61
ifkubeConfigValidCondition.IsFalse() {
62
+
payloadSchedulable=greenhousemetav1alpha1.FalseCondition(greenhousev1alpha1.PayloadSchedulable, "", "kubeconfig not valid - payloads cannot be scheduled")
58
63
allNodesReadyCondition=greenhousemetav1alpha1.UnknownCondition(greenhousev1alpha1.AllNodesReady, "", "kubeconfig not valid - cannot know node status")
59
64
clusterAccessibleCondition=greenhousemetav1alpha1.UnknownCondition(greenhousev1alpha1.PermissionsVerified, "", "kubeconfig not valid - cannot validate cluster access")
60
65
resourcesDeployedCondition=greenhousemetav1alpha1.UnknownCondition(greenhousev1alpha1.ManagedResourcesDeployed, "", "kubeconfig not valid - cannot validate managed resources")
g.Expect(validCluster.Status.GetConditionByType(greenhousev1alpha1.AllNodesReady).Message).To(ContainSubstring("test-node not ready, test-node-3 not ready"))
g.Expect(validCluster.Status.GetConditionByType(greenhousev1alpha1.AllNodesReady).Status).To(Equal(metav1.ConditionTrue), "The AllNodesReady condition should be true")
0 commit comments