From a31ac5971c8ec48c1dd99cd7b5babb509330c37d Mon Sep 17 00:00:00 2001 From: Borball Zhai Date: Mon, 24 Apr 2023 16:43:16 -0400 Subject: [PATCH] add demos --- samples/sno-ready.cast | 90 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 samples/sno-ready.cast diff --git a/samples/sno-ready.cast b/samples/sno-ready.cast new file mode 100644 index 0000000..46aed77 --- /dev/null +++ b/samples/sno-ready.cast @@ -0,0 +1,90 @@ +{"version": 2, "width": 185, "height": 56, "timestamp": 1682363228, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}} +[3.955806, "o", "\u001b]0;root@hub-helper:~\u0007[root@hub-helper ~]# "] +[4.753269, "o", "c"] +[4.864719, "o", "d"] +[5.103857, "o", " "] +[5.718824, "o", "s"] +[6.015152, "o", "n"] +[6.24009, "o", "o"] +[6.507949, "o", "-"] +[7.053153, "o", "v"] +[7.252971, "o", "d"] +[7.566785, "o", "u"] +[8.209221, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[8.87958, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[12.36346, "o", "."] +[12.434742, "o", "/"] +[12.573839, "o", "s"] +[12.757124, "o", "n"] +[12.822281, "o", "o"] +[13.107359, "o", "-"] +[13.730756, "o", "r"] +[13.774009, "o", "e"] +[13.980052, "o", "d"] +[14.177831, "o", "\u0007"] +[16.97077, "o", "\b\u001b[K"] +[17.095783, "o", "a"] +[17.261107, "o", "dy.sh "] +[18.054793, "o", "-"] +[18.482563, "o", "h"] +[18.603027, "o", "\r\n"] +[18.638935, "o", "error: Missing or incomplete configuration info. Please point to an existing, complete config file:\r\n\r\n\r\n 1. Via the command-line flag --kubeconfig\r\n 2. Via the KUBECONFIG environment variable\r\n 3. In your home directory as ~/.kube/config\r\n\r\nTo view or setup config directly use the 'config' command.\r\n\r\n\u001b[0mPlease export the KUBECONFIG environment variable before running the check.\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[19.28579, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[44.720328, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[44.894423, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[46.261793, "o", "\r\u001b[5P(reverse-i-search)`':\u001b[C"] +[46.633365, "o", "\b\b\be': ./sno-ready.sh -h\b\b\b\b\b\b\b\b\b\b"] +[46.930834, "o", "\b\b\b\b\b\b\b\b\b\b\u001b[12Px': exit\b\b\b\b"] +[47.93831, "o", "\b\b\bp': export KUBECONFIG=sno130/auth/kubeconfig \r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C"] +[48.017576, "o", "\b\b\b\u001b[1@o\u001b[C\u001b[C\u001b[C"] +[48.143842, "o", "\b\b\b\u001b[1@r\u001b[C\u001b[C\u001b[C"] +[48.219144, "o", "\b\b\b\u001b[1@t\u001b[C\u001b[C\u001b[C"] +[48.320825, "o", "\b\b\b\u001b[1@ \u001b[C\u001b[C\u001b[C"] +[49.176749, "o", "\r\u001b[2P[root@hub-helper sno-vdu]#\u001b[C\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[49.629771, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[49.784079, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "] +[50.745075, "o", "export KUBECONFIG=sno130/auth/kubeconfig "] +[51.132327, "o", "\r\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[24P./sno-ready.sh -h"] +[52.633491, "o", "\b\u001b[K"] +[52.770545, "o", "\b\u001b[K"] +[52.93807, "o", "\b\u001b[K"] +[63.529218, "o", "\r\n"] +[63.586463, "o", "NAME STATUS ROLES AGE VERSION\r\nsno130.outbound.vz.bos2.lab Ready control-plane,master,worker 82m v1.25.8+27e744f\r\n"] +[63.587949, "o", "\r\n\u001b[0mChecking node:\r\n"] +[63.670886, "o", "\u001b[0;32m [+]Node is ready.\r\n\r\n\u001b[0mChecking all pods:\r\n"] +[63.818804, "o", "\u001b[0;32m [+]No failing pods.\r\n\r\n\u001b[0mChecking required machine config:\r\n"] +[63.888462, "o", "\u001b[0;32m [+]MachineConfig container-mount-namespace-and-kubelet-conf-master exits.\r\n"] +[63.966423, "o", "\u001b[0;32m [+]MachineConfig 02-master-workload-partitioning exits.\r\n"] +[64.040915, "o", "\u001b[0;32m [+]MachineConfig 04-accelerated-container-startup-master exits.\r\n"] +[64.113099, "o", "\u001b[0;32m [+]MachineConfig 05-kdump-config-master exits.\r\n"] +[64.186713, "o", "\u001b[0;32m [+]MachineConfig 06-kdump-enable-master exits.\r\n"] +[64.25545, "o", "\u001b[0;32m [+]MachineConfig 99-crio-disable-wipe-master exits.\r\n"] +[64.333691, "o", "\u001b[0;31m [-]MachineConfig disable-chronyd is not existing.\r\n\r\n\u001b[0mChecking machine config pool:\r\n"] +[64.501126, "o", "\u001b[0;32m [+]mcp master is updated and not degraded.\r\n\r\n\u001b[0mChecking required performance profile:\r\n"] +[64.556161, "o", "\u001b[0;32m [+]PerformanceProfile openshift-node-performance-profile exits.\r\n"] +[64.60828, "o", "\u001b[0;32m [+]topologyPolicy is single-numa-node\r\n"] +[64.676719, "o", "\u001b[0;32m [+]realTimeKernel is enabled\r\n\r\n\u001b[0mChecking required tuned:\r\n"] +[64.728663, "o", "\u001b[0;32m [+]Tuned openshift-node-performance-openshift-node-performance-profile exits.\r\n\r\n\u001b[0mChecking SRIOV operator status:\r\n"] +[64.783453, "o", "\u001b[0;32m [+]sriovnetworknodestate sync status is 'Succeeded'.\r\n\r\n\u001b[0mChecking PTP operator status:\r\n"] +[64.843018, "o", "\u001b[0;32m [+]Ptp linuxptp-daemon is ready.\r\n"] +[64.891153, "o", "No resources found in openshift-ptp namespace.\r\n\u001b[0;31m [-]PtpConfig not exist.\r\n\r\n\u001b[0mChecking openshift monitoring.\r\n"] +[64.947217, "o", "\u001b[0;32m [+]Grafana is not enabled.\r\n"] +[65.002983, "o", "\u001b[0;32m [+]AlertManager is not enabled.\r\n"] +[65.056841, "o", "\u001b[0;32m [+]PrometheusK8s retention is not 24h.\r\n\r\n\u001b[0mChecking openshift console.\r\n"] +[65.299452, "o", "\u001b[0;32m [+]Openshift console is disabled.\r\n\r\n\u001b[0mChecking network diagnostics.\r\n"] +[65.515643, "o", "\u001b[0;32m [+]Network diagnostics is disabled.\r\n\r\n\u001b[0mChecking Operator hub.\r\n"] +[65.591003, "o", "\u001b[0;32m [+]Catalog community-operators is disabled.\r\n"] +[65.650773, "o", "\u001b[0;32m [+]Catalog redhat-marketplace is disabled.\r\n\r\n\u001b[0mChecking /proc/cmdline:\r\n"] +[65.999033, "o", "\u001b[0;32m [+]systemd.cpu_affinity presents: systemd.cpu_affinity=0,1,32,33\r\n"] +[65.999216, "o", "\u001b[0;32m [+]isolcpus presents: isolcpus=managed_irq,2-31,34-63\r\n"] +[66.4613, "o", "\u001b[0;32m [+]Isolated cpu in cmdline: 2-31,34-63 matches with the ones in performance profile: 2-31,34-63\r\n\u001b[0;32m [+]Reserved cpu in cmdline: 0,1,32,33 matches with the ones in performance profile: 0-1,32-33\r\n\r\n\u001b[0mChecking RHCOS kernel:\r\n"] +[66.630041, "o", "\u001b[0;32m [+]Node is realtime kernel.\r\n\r\n\u001b[0mChecking kdump.service:\r\n"] +[66.801036, "o", "\u001b[0;32m [+]kdump is active.\r\n"] +[66.982258, "o", "\u001b[0;32m [+]kdump is enabled.\r\n\r\n\u001b[0mChecking chronyd.service:\r\n"] +[67.143662, "o", "\u001b[0;31m [-]chronyd is active.\r\n"] +[67.515082, "o", "\u001b[0;31m [-]chronyd is enabled.\r\n\r\n\u001b[0mChecking crop-wipe.service:\r\n"] +[67.81483, "o", "\u001b[0;32m [+]crio-wipe is inactive.\r\n"] +[68.01008, "o", "\u001b[0;32m [+]crio-wipe is not enabled.\r\n\r\n\u001b[0mCompleted the checking.\r\n"] +[68.010168, "o", "\u001b]0;root@hub-helper:~/sno-vdu\u0007"] +[68.010334, "o", "[root@hub-helper sno-vdu]# "] +[68.65116, "o", "\r\n\u001b]0;root@hub-helper:~/sno-vdu\u0007[root@hub-helper sno-vdu]# "]