Skip to content

Instantly share code, notes, and snippets.

View Cloud-Mak's full-sized avatar
🏡
Working from home

Makrand Cloud-Mak

🏡
Working from home
View GitHub Profile
root@stage-mast1:/# kubeadm certs check-expiration
[check-expiration] Reading configuration from the cluster...
[check-expiration] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
W0623 15:09:12.445876 129959 initconfiguration.go:120] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme "unix" to the "criSocket" with value "/run/containerd/containerd.sock". Please update your configuration!
CERTIFICATE EXPIRES RESIDUAL TIME CERTIFICATE AUTHORITY EXTERNALLY MANAGED
admin.conf Jul 18, 2023 09:52 UTC 24d ca no
apiserver Jul 18, 2023 09:52 UTC 24d ca no
apiserver-etcd-client Jul 18, 2023 09:52 UTC 24d etcd-ca no
apiserver-kubelet-client Jul 18, 2023 09:52 UTC 24d ca
dukaan@sentry:~/self-hosted-22.6.0$ sudo ./install.sh
▶ Parsing command line ...
▶ Initializing Docker Compose ...
▶ Setting up error handling ...
▶ Checking for latest commit ...
skipped
49.207.202.112 - - [05/Jul/2022:19:14:52 +0000] "GET /organizations/sentry/issues/?project=3 HTTP/1.1" 200 5697 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" "-"
54.255.44.247 - - [05/Jul/2022:19:14:52 +0000] "POST /api/3/envelope/ HTTP/1.1" 200 2 "-" "sentry.python/1.6.0" "-"
54.255.44.247 - - [05/Jul/2022:19:14:52 +0000] "POST /api/3/envelope/ HTTP/1.1" 200 2 "-" "sentry.python/1.6.0" "-"
49.207.202.112 - - [05/Jul/2022:19:14:52 +0000] "GET /api/0/organizations/sentry/issues/?expand=owners&expand=inbox&limit=25&project=3&query=is:unresolved&shortIdLookup=1&statsPeriod=14d&cursor=1657048096000:0:1 HTTP/1.1" 200 2 "http://sentry.dukan.tech:9000/organizations/sentry/issues/?project=3" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" "-"
49.207.202.112 - - [05/Jul/2022:19:14:52 +0000] "POST /api/1/envelope/?sentry_key=916f58cc659c4a41b1039a472288223d&sentry_version=7 HTTP/1.1" 200 2 "http://sentr
@Cloud-Mak
Cloud-Mak / logs
Last active August 26, 2022 03:37
root@dbsystems1:~# lsof | grep -i deleted | numfmt --field=8 --to=iec
lsof: WARNING: can't stat() fuse.lxcfs file system /var/lib/lxcfs
Output information may be incomplete.
unattende 1740 root 3w REG 253,1 448 2.4M /var/log/unattended-upgrades/unattended-upgrades-shutdown.log.1 (deleted)
gmain 1740 1831 root 3w REG 253,1 448 2492992 /var/log/unattended-upgrades/unattended-upgrades-shutdown.log.1 (deleted)
java 27660 root 1w REG 253,1 2857551 44M /root/druid/druid/var/sv/coordinator-overlord.log (deleted)
java 27660 root 2w REG 253,1 2857551 44M /root/druid/druid/var/sv/coordinator-overlord.log (deleted)
java 27660 27753 root 1w REG 253,1 2.5M 45090020 /root/druid/druid/var/sv/coordinator-overlord.log (deleted)
java 27660 27753 root