<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[k8s 常用命令]]></title><description><![CDATA[<p dir="auto">进入pod的docker<br />
kubectl exec -it &lt;pod-name&gt; -n &lt;namespace&gt; -c &lt;container-name&gt; -- /bin/bash<br />
查询rook的mon 端点<br />
kubectl -n rook-ceph get configmap rook-ceph-mon-endpoints -o yaml | grep data</p>
]]></description><link>http://an.forum.genostack.com/topic/1081/k8s-常用命令</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 09:38:28 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/1081.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Jun 2024 08:06:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to k8s 常用命令 on Fri, 28 Jun 2024 08:15:26 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://www.digitalocean.com/community/tutorials/how-to-inspect-kubernetes-networking" rel="nofollow ugc">https://www.digitalocean.com/community/tutorials/how-to-inspect-kubernetes-networking</a></p>
<p dir="auto">k8s网络</p>
]]></description><link>http://an.forum.genostack.com/post/2675</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2675</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Fri, 28 Jun 2024 08:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to k8s 常用命令 on Thu, 27 Jun 2024 15:31:45 GMT]]></title><description><![CDATA[<p dir="auto">To get the process ID of either container, take note of the container ID or name, and use it in the following docker command:<br />
docker inspect --format '{{ .State.Pid }}' container-id-or-name</p>
]]></description><link>http://an.forum.genostack.com/post/2673</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2673</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Thu, 27 Jun 2024 15:31:45 GMT</pubDate></item><item><title><![CDATA[Reply to k8s 常用命令 on Tue, 25 Jun 2024 08:54:13 GMT]]></title><description><![CDATA[<p dir="auto">重启dns<br />
kubectl delete pods -n kube-system -l k8s-app=kube-dns</p>
]]></description><link>http://an.forum.genostack.com/post/2662</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2662</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Tue, 25 Jun 2024 08:54:13 GMT</pubDate></item></channel></rss>