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
Copy file name to clipboardExpand all lines: codebundles/k8s-app-troubleshoot/runbook.robot
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ Get `${CONTAINER_NAME}` Application Logs from Workload `${WORKLOAD_NAME}` in Nam
28
28
... secret_file__kubeconfig=${kubeconfig}
29
29
RW.Core.Add Pre To Report Workload Logs:\n\n${logs.stdout}
30
30
${history}= RW.CLI.Pop Shell History
31
-
RW.Core.Add Pre To Report Commands Used: ${history}
32
31
33
32
Scan `${CONTAINER_NAME}` Application For Misconfigured Environment
34
33
[Documentation] Compares codebase to configured infra environment variables and attempts to report missing environment variables in the app
@@ -40,7 +39,6 @@ Scan `${CONTAINER_NAME}` Application For Misconfigured Environment
40
39
... secret_file__kubeconfig=${kubeconfig}
41
40
${history}= RW.CLI.Pop Shell History
42
41
RW.Core.Add Pre To Report Stdout:\n\n${script_run.stdout}
43
-
RW.Core.Add Pre To Report Commands Used: ${history}
44
42
45
43
Tail `${CONTAINER_NAME}` Application Logs For Stacktraces in Workload `${WORKLOAD_NAME}`
46
44
[Documentation] Performs an inspection on container logs for exceptions/stacktraces, parsing them and attempts to find relevant source code information
@@ -550,7 +549,6 @@ Inspect DaemonSet Warning Events for `${DAEMONSET_NAME}` in Namespace `${NAMESPA
550
549
... observed_at=${issue_timestamp}
551
550
${history}= RW.CLI.Pop Shell History
552
551
RW.Core.Add Pre To Report Failed to retrieve DaemonSet details:\n\n${k8s_daemonset_details.stderr}
553
-
RW.Core.Add Pre To Report Commands Used: ${history}
554
552
ELSE
555
553
${related_resource_recommendations}= RW.K8sHelper.Get Related Resource Recommendations
556
554
... k8s_object=${k8s_daemonset_details.stdout}
@@ -671,7 +669,6 @@ Inspect DaemonSet Warning Events for `${DAEMONSET_NAME}` in Namespace `${NAMESPA
671
669
672
670
${history}= RW.CLI.Pop Shell History
673
671
RW.Core.Add Pre To Report ${events.stdout}
674
-
RW.Core.Add Pre To Report Commands Used: ${history}
675
672
END
676
673
END
677
674
@@ -698,11 +695,9 @@ Fetch DaemonSet Workload Details For `${DAEMONSET_NAME}` in Namespace `${NAMESPA
698
695
... observed_at=${issue_timestamp}
699
696
${history}= RW.CLI.Pop Shell History
700
697
RW.Core.Add Pre To Report Failed to retrieve DaemonSet manifest:\n\n${daemonset.stderr}
701
-
RW.Core.Add Pre To Report Commands Used: ${history}
702
698
ELSE
703
699
${history}= RW.CLI.Pop Shell History
704
700
RW.Core.Add Pre To Report Snapshot of DaemonSet state:\n\n${daemonset.stdout}
705
-
RW.Core.Add Pre To Report Commands Used: ${history}
706
701
END
707
702
708
703
Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
@@ -739,7 +734,6 @@ Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
739
734
... observed_at=${issue_timestamp}
740
735
${history}= RW.CLI.Pop Shell History
741
736
RW.Core.Add Pre To Report Failed to retrieve DaemonSet status:\n\n${daemonset_status.stderr}
742
-
RW.Core.Add Pre To Report Commands Used: ${history}
743
737
ELSE
744
738
TRY
745
739
${ds_status}= Evaluate json.loads(r'''${daemonset_status.stdout}''') if r'''${daemonset_status.stdout}'''.strip() else {} json
@@ -804,7 +798,6 @@ Inspect DaemonSet Status for `${DAEMONSET_NAME}` in namespace `${NAMESPACE}`
804
798
805
799
${history}= RW.CLI.Pop Shell History
806
800
RW.Core.Add Pre To Report DaemonSet Status: Ready=${number_ready}/${desired_scheduled}, Unavailable=${number_unavailable}, Misscheduled=${number_misscheduled}
807
-
RW.Core.Add Pre To Report Commands Used: ${history}
808
801
END
809
802
810
803
Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespace `${NAMESPACE}`
@@ -838,7 +831,6 @@ Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespa
838
831
... observed_at=${issue_timestamp}
839
832
${history}= RW.CLI.Pop Shell History
840
833
RW.Core.Add Pre To Report Failed to retrieve node constraints:\n\n${node_constraints.stderr}
841
-
RW.Core.Add Pre To Report Commands Used: ${history}
842
834
ELSE
843
835
TRY
844
836
${constraints}= Evaluate json.loads(r'''${node_constraints.stdout}''') if r'''${node_constraints.stdout}'''.strip() else {} json
@@ -877,7 +869,6 @@ Check Node Affinity and Tolerations for DaemonSet `${DAEMONSET_NAME}` in Namespa
877
869
878
870
${history}= RW.CLI.Pop Shell History
879
871
RW.Core.Add Pre To Report Node Constraints:\n${node_constraints.stdout}
880
-
RW.Core.Add Pre To Report Commands Used: ${history}
0 commit comments