diff --git a/pkg/kubelet/network/exec/exec.go b/pkg/kubelet/network/exec/exec.go index af9ec1be123..a29388d70ed 100644 --- a/pkg/kubelet/network/exec/exec.go +++ b/pkg/kubelet/network/exec/exec.go @@ -33,7 +33,7 @@ limitations under the License. // formatted output indicating the pod's IPAddress(v4/v6). An empty string value or an erroneous output // will mean the container runtime (docker) will be asked for the PodIP // e.g. { -// "apiVersion" : "v1", +// "apiVersion" : "v1beta1", // "kind" : "PodNetworkStatus", // "ip" : "10.20.30.40" // } diff --git a/pkg/kubelet/network/plugins.go b/pkg/kubelet/network/plugins.go index 51a726aea4e..10baef7c1de 100644 --- a/pkg/kubelet/network/plugins.go +++ b/pkg/kubelet/network/plugins.go @@ -56,7 +56,7 @@ type NetworkPlugin interface { } // PodNetworkStatus stores the network status of a pod (currently just the primary IP address) -// This struct represents version "v1" +// This struct represents version "v1beta1" type PodNetworkStatus struct { unversioned.TypeMeta `json:",inline"`