From f7a7df2f582a17834a976b9e0ec015ce06bf7162 Mon Sep 17 00:00:00 2001 From: LordAbhishek Date: Mon, 17 Nov 2025 02:35:58 +0530 Subject: [PATCH 1/2] update consul-k8s cli status command docs --- .../content/docs/reference/cli/consul-k8s.mdx | 45 ++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/content/consul/v1.22.x/content/docs/reference/cli/consul-k8s.mdx b/content/consul/v1.22.x/content/docs/reference/cli/consul-k8s.mdx index d78e91203a..9b1bb4e19d 100644 --- a/content/consul/v1.22.x/content/docs/reference/cli/consul-k8s.mdx +++ b/content/consul/v1.22.x/content/docs/reference/cli/consul-k8s.mdx @@ -1096,7 +1096,7 @@ cluster.consul-dataplane.circuit_breakers.high.rq_retry_open: 0 ### `status` -The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about the health of Consul servers and clients. This command does not take in any flags. +The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about Consul servers, clients and deployments. This command does not take in any flags. ```shell-session $ consul-k8s status @@ -1110,14 +1110,32 @@ $ consul-k8s status ==> Consul-K8s Status Summary NAME | NAMESPACE | STATUS | CHARTVERSION | APPVERSION | REVISION | LAST UPDATED ---------+-----------+----------+--------------+------------+----------+-------------------------- - consul | consul | deployed | 0.41.1 | 1.11.4 | 1 | 2022/03/10 07:48:58 MST + consul | consul | deployed | 1.8.0 | 1.11.4 | 1 | 2025/09/29 01:45:33 IST ==> Config: + client: + enabled: true + replicas: 1 connectInject: enabled: true + controller: + enabled: true + global: + dataCenter: galaxy + image: hashicorp/consul:1.21 + imageEnvoy: envoyproxy/envoy:v1.20.2 metrics: - defaultEnableMerging: true - defaultEnabled: true + enabled: true + name: consul + prometheus: + enabled: true + server: + replicas: 1 + ui: + service: + port: + http: 8500 + type: LoadBalancer enableGatewayMetrics: true global: metrics: @@ -1133,8 +1151,23 @@ $ consul-k8s status service: enabled: true - ✓ Consul servers healthy (1/1) - ✓ Consul clients healthy (3/3) +==> Status Of Helm Hooks: + +==> Consul Clients status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-client | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Servers status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-server | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Deployments status: +NAME | READY | AGE | CONTAINERS | IMAGES +-------------------------------+--------+--------+--------------------------------------------------------+------------------------------------- +consul-connect-injector | 1/1 | 4m0s | sidecar-injector | hashicorp/consul-k8s-control-plane:1.8.0 +consul-webhook-cert-manager | 1/1 | 4m0s | webhook-cert-manager | hashicorp/consul-k8s-control-plane:1.8.0 ``` ### `troubleshoot` From 5b726677324b65489142b77bc54c2aa444b831c0 Mon Sep 17 00:00:00 2001 From: LordAbhishek Date: Tue, 18 Nov 2025 13:28:06 +0530 Subject: [PATCH 2/2] replicating the docs changes for other versions too --- .../v1.17.x/content/docs/k8s/k8s-cli.mdx | 45 ++++++++++++++++--- .../v1.18.x/content/docs/k8s/k8s-cli.mdx | 45 ++++++++++++++++--- .../v1.19.x/content/docs/k8s/k8s-cli.mdx | 45 ++++++++++++++++--- 3 files changed, 117 insertions(+), 18 deletions(-) diff --git a/content/consul/v1.17.x/content/docs/k8s/k8s-cli.mdx b/content/consul/v1.17.x/content/docs/k8s/k8s-cli.mdx index 005363ec3c..a3e0a1279f 100644 --- a/content/consul/v1.17.x/content/docs/k8s/k8s-cli.mdx +++ b/content/consul/v1.17.x/content/docs/k8s/k8s-cli.mdx @@ -906,7 +906,7 @@ cluster.consul-dataplane.circuit_breakers.high.rq_retry_open: 0 ### `status` -The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about the health of Consul servers and clients. This command does not take in any flags. +The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about Consul servers, clients and deployments. This command does not take in any flags. ```shell-session $ consul-k8s status @@ -920,14 +920,32 @@ $ consul-k8s status ==> Consul-K8s Status Summary NAME | NAMESPACE | STATUS | CHARTVERSION | APPVERSION | REVISION | LAST UPDATED ---------+-----------+----------+--------------+------------+----------+-------------------------- - consul | consul | deployed | 0.41.1 | 1.11.4 | 1 | 2022/03/10 07:48:58 MST + consul | consul | deployed | 1.8.0 | 1.11.4 | 1 | 2025/09/29 01:45:33 IST ==> Config: + client: + enabled: true + replicas: 1 connectInject: enabled: true + controller: + enabled: true + global: + dataCenter: galaxy + image: hashicorp/consul:1.21 + imageEnvoy: envoyproxy/envoy:v1.20.2 metrics: - defaultEnableMerging: true - defaultEnabled: true + enabled: true + name: consul + prometheus: + enabled: true + server: + replicas: 1 + ui: + service: + port: + http: 8500 + type: LoadBalancer enableGatewayMetrics: true global: metrics: @@ -943,8 +961,23 @@ $ consul-k8s status service: enabled: true - ✓ Consul servers healthy (1/1) - ✓ Consul clients healthy (3/3) +==> Status Of Helm Hooks: + +==> Consul Clients status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-client | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Servers status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-server | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Deployments status: +NAME | READY | AGE | CONTAINERS | IMAGES +-------------------------------+--------+--------+--------------------------------------------------------+------------------------------------- +consul-connect-injector | 1/1 | 4m0s | sidecar-injector | hashicorp/consul-k8s-control-plane:1.8.0 +consul-webhook-cert-manager | 1/1 | 4m0s | webhook-cert-manager | hashicorp/consul-k8s-control-plane:1.8.0 ``` ### `troubleshoot` diff --git a/content/consul/v1.18.x/content/docs/k8s/k8s-cli.mdx b/content/consul/v1.18.x/content/docs/k8s/k8s-cli.mdx index 005363ec3c..a3e0a1279f 100644 --- a/content/consul/v1.18.x/content/docs/k8s/k8s-cli.mdx +++ b/content/consul/v1.18.x/content/docs/k8s/k8s-cli.mdx @@ -906,7 +906,7 @@ cluster.consul-dataplane.circuit_breakers.high.rq_retry_open: 0 ### `status` -The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about the health of Consul servers and clients. This command does not take in any flags. +The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about Consul servers, clients and deployments. This command does not take in any flags. ```shell-session $ consul-k8s status @@ -920,14 +920,32 @@ $ consul-k8s status ==> Consul-K8s Status Summary NAME | NAMESPACE | STATUS | CHARTVERSION | APPVERSION | REVISION | LAST UPDATED ---------+-----------+----------+--------------+------------+----------+-------------------------- - consul | consul | deployed | 0.41.1 | 1.11.4 | 1 | 2022/03/10 07:48:58 MST + consul | consul | deployed | 1.8.0 | 1.11.4 | 1 | 2025/09/29 01:45:33 IST ==> Config: + client: + enabled: true + replicas: 1 connectInject: enabled: true + controller: + enabled: true + global: + dataCenter: galaxy + image: hashicorp/consul:1.21 + imageEnvoy: envoyproxy/envoy:v1.20.2 metrics: - defaultEnableMerging: true - defaultEnabled: true + enabled: true + name: consul + prometheus: + enabled: true + server: + replicas: 1 + ui: + service: + port: + http: 8500 + type: LoadBalancer enableGatewayMetrics: true global: metrics: @@ -943,8 +961,23 @@ $ consul-k8s status service: enabled: true - ✓ Consul servers healthy (1/1) - ✓ Consul clients healthy (3/3) +==> Status Of Helm Hooks: + +==> Consul Clients status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-client | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Servers status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-server | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Deployments status: +NAME | READY | AGE | CONTAINERS | IMAGES +-------------------------------+--------+--------+--------------------------------------------------------+------------------------------------- +consul-connect-injector | 1/1 | 4m0s | sidecar-injector | hashicorp/consul-k8s-control-plane:1.8.0 +consul-webhook-cert-manager | 1/1 | 4m0s | webhook-cert-manager | hashicorp/consul-k8s-control-plane:1.8.0 ``` ### `troubleshoot` diff --git a/content/consul/v1.19.x/content/docs/k8s/k8s-cli.mdx b/content/consul/v1.19.x/content/docs/k8s/k8s-cli.mdx index 005363ec3c..a3e0a1279f 100644 --- a/content/consul/v1.19.x/content/docs/k8s/k8s-cli.mdx +++ b/content/consul/v1.19.x/content/docs/k8s/k8s-cli.mdx @@ -906,7 +906,7 @@ cluster.consul-dataplane.circuit_breakers.high.rq_retry_open: 0 ### `status` -The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about the health of Consul servers and clients. This command does not take in any flags. +The `status` command provides an overall status summary of the Consul on Kubernetes installation. It also provides the configuration that was used to deploy Consul K8s and information about Consul servers, clients and deployments. This command does not take in any flags. ```shell-session $ consul-k8s status @@ -920,14 +920,32 @@ $ consul-k8s status ==> Consul-K8s Status Summary NAME | NAMESPACE | STATUS | CHARTVERSION | APPVERSION | REVISION | LAST UPDATED ---------+-----------+----------+--------------+------------+----------+-------------------------- - consul | consul | deployed | 0.41.1 | 1.11.4 | 1 | 2022/03/10 07:48:58 MST + consul | consul | deployed | 1.8.0 | 1.11.4 | 1 | 2025/09/29 01:45:33 IST ==> Config: + client: + enabled: true + replicas: 1 connectInject: enabled: true + controller: + enabled: true + global: + dataCenter: galaxy + image: hashicorp/consul:1.21 + imageEnvoy: envoyproxy/envoy:v1.20.2 metrics: - defaultEnableMerging: true - defaultEnabled: true + enabled: true + name: consul + prometheus: + enabled: true + server: + replicas: 1 + ui: + service: + port: + http: 8500 + type: LoadBalancer enableGatewayMetrics: true global: metrics: @@ -943,8 +961,23 @@ $ consul-k8s status service: enabled: true - ✓ Consul servers healthy (1/1) - ✓ Consul clients healthy (3/3) +==> Status Of Helm Hooks: + +==> Consul Clients status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-client | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Servers status: +NAME | READY | AGE | CONTAINERS | IMAGES +---------------+--------+--------+----------------+----------------------- +consul-server | 1/1 | 4m0s | consul | hashicorp/consul:1.21 + +==> Consul Deployments status: +NAME | READY | AGE | CONTAINERS | IMAGES +-------------------------------+--------+--------+--------------------------------------------------------+------------------------------------- +consul-connect-injector | 1/1 | 4m0s | sidecar-injector | hashicorp/consul-k8s-control-plane:1.8.0 +consul-webhook-cert-manager | 1/1 | 4m0s | webhook-cert-manager | hashicorp/consul-k8s-control-plane:1.8.0 ``` ### `troubleshoot`