File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ import (
38
38
39
39
var (
40
40
longDescr = templates .LongDesc (i18n .T (`
41
- Display addresses of the master and services with label kubernetes.io/cluster-service=true
41
+ Display addresses of the control plane and services with label kubernetes.io/cluster-service=true
42
42
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.` ))
43
43
44
44
clusterinfoExample = templates .Examples (i18n .T (`
45
- # Print the address of the master and cluster services
45
+ # Print the address of the control plane and cluster services
46
46
kubectl cluster-info` ))
47
47
)
48
48
@@ -103,7 +103,7 @@ func (o *ClusterInfoOptions) Run() error {
103
103
if err != nil {
104
104
return err
105
105
}
106
- printService (o .Out , "Kubernetes master " , o .Client .Host )
106
+ printService (o .Out , "Kubernetes control plane " , o .Client .Host )
107
107
108
108
services := r .Object .(* corev1.ServiceList ).Items
109
109
for _ , service := range services {
Original file line number Diff line number Diff line change 1391
1391
file : test/e2e/kubectl/kubectl.go
1392
1392
- testname : Kubectl, cluster info
1393
1393
codename : ' [sig-cli] Kubectl client Kubectl cluster-info should check if Kubernetes
1394
- master services is included in cluster-info [Conformance]'
1394
+ control plane services is included in cluster-info [Conformance]'
1395
1395
description : Call kubectl to get cluster-info, output MUST contain cluster-info
1396
- returned and Kubernetes Master SHOULD be running.
1396
+ returned and Kubernetes control plane SHOULD be running.
1397
1397
release : v1.9
1398
1398
file : test/e2e/kubectl/kubectl.go
1399
1399
- testname : Kubectl, describe pod or rc
Original file line number Diff line number Diff line change @@ -1069,13 +1069,13 @@ metadata:
1069
1069
/*
1070
1070
Release: v1.9
1071
1071
Testname: Kubectl, cluster info
1072
- Description: Call kubectl to get cluster-info, output MUST contain cluster-info returned and Kubernetes Master SHOULD be running.
1072
+ Description: Call kubectl to get cluster-info, output MUST contain cluster-info returned and Kubernetes control plane SHOULD be running.
1073
1073
*/
1074
- framework .ConformanceIt ("should check if Kubernetes master services is included in cluster-info " , func () {
1074
+ framework .ConformanceIt ("should check if Kubernetes control plane services is included in cluster-info " , func () {
1075
1075
ginkgo .By ("validating cluster-info" )
1076
1076
output := framework .RunKubectlOrDie (ns , "cluster-info" )
1077
1077
// Can't check exact strings due to terminal control commands (colors)
1078
- requiredItems := []string {"Kubernetes master " , "is running at" }
1078
+ requiredItems := []string {"Kubernetes control plane " , "is running at" }
1079
1079
for _ , item := range requiredItems {
1080
1080
if ! strings .Contains (output , item ) {
1081
1081
framework .Failf ("Missing %s in kubectl cluster-info" , item )
You can’t perform that action at this time.
0 commit comments