From f9e193949c92f457c65b9fad172b8daabc526dde Mon Sep 17 00:00:00 2001 From: nobukatsu Date: Thu, 9 Jan 2020 11:19:45 +0900 Subject: [PATCH] Add command of listing all namespaces --- cheatsheets/Kubernetes.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cheatsheets/Kubernetes.rb b/cheatsheets/Kubernetes.rb index 29846c63..11bc6ddc 100644 --- a/cheatsheets/Kubernetes.rb +++ b/cheatsheets/Kubernetes.rb @@ -90,6 +90,15 @@ category do id 'Viewing and Finding Resources' + entry do + name 'List all namespaces in the cluster' + notes ' + ``` + kubectl get namespaces + ``` + ' + end + entry do name 'List all services in the namespace' notes '