Change kubectl clusterinfo to non offensive words
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com> Kubernetes-commit: ab129349acadb4539cc8c584e4f9a43dd8b45761
This commit is contained in:
parent
cb45ac0c4e
commit
aef03d78a9
|
@ -38,11 +38,11 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
longDescr = templates.LongDesc(i18n.T(`
|
longDescr = templates.LongDesc(i18n.T(`
|
||||||
Display addresses of the master and services with label kubernetes.io/cluster-service=true
|
Display addresses of the control plane and services with label kubernetes.io/cluster-service=true
|
||||||
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.`))
|
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.`))
|
||||||
|
|
||||||
clusterinfoExample = templates.Examples(i18n.T(`
|
clusterinfoExample = templates.Examples(i18n.T(`
|
||||||
# Print the address of the master and cluster services
|
# Print the address of the control plane and cluster services
|
||||||
kubectl cluster-info`))
|
kubectl cluster-info`))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ func (o *ClusterInfoOptions) Run() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
printService(o.Out, "Kubernetes master", o.Client.Host)
|
printService(o.Out, "Kubernetes control plane", o.Client.Host)
|
||||||
|
|
||||||
services := r.Object.(*corev1.ServiceList).Items
|
services := r.Object.(*corev1.ServiceList).Items
|
||||||
for _, service := range services {
|
for _, service := range services {
|
||||||
|
|
Loading…
Reference in New Issue