Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the doc of network plugin version #18498

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/kubelet/network/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
// }
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/network/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down