Copy comments

This commit is contained in:
Ole Markus With 2020-05-21 15:47:33 +02:00
parent 30a2ec7d4d
commit 77aab657cc
2 changed files with 7 additions and 7 deletions

View File

@ -3132,7 +3132,7 @@ spec:
type: object type: object
classic: classic:
description: ClassicNetworkingSpec is the specification of classic description: ClassicNetworkingSpec is the specification of classic
networking mode, integrated into kubernetes Support been removed networking mode, integrated into kubernetes. Support been removed
since kops 1.4. since kops 1.4.
type: object type: object
cni: cni:

View File

@ -37,7 +37,8 @@ type NetworkingSpec struct {
GCE *GCENetworkingSpec `json:"gce,omitempty"` GCE *GCENetworkingSpec `json:"gce,omitempty"`
} }
// ClassicNetworkingSpec is the specification of classic networking mode, integrated into kubernetes // ClassicNetworkingSpec is the specification of classic networking mode, integrated into kubernetes.
// Support been removed since kops 1.4.
type ClassicNetworkingSpec struct { type ClassicNetworkingSpec struct {
} }
@ -45,14 +46,13 @@ type ClassicNetworkingSpec struct {
type KubenetNetworkingSpec struct { type KubenetNetworkingSpec struct {
} }
// ExternalNetworkingSpec is the specification for networking that is implemented by a Daemonset // ExternalNetworkingSpec is the specification for networking that is implemented by a Daemonset.
// It also uses kubenet // Uses the kubenet networking provider.
type ExternalNetworkingSpec struct { type ExternalNetworkingSpec struct {
} }
// CNINetworkingSpec is the specification for networking that is implemented by a Daemonset // CNINetworkingSpec is the specification for networking that is implemented by a Daemonset.
// Networking is not managed by kops - we can create options here that directly configure e.g. weave // Uses the CNI networking interface.
// but this is useful for arbitrary network modes or for modes that don't need additional configuration.
type CNINetworkingSpec struct { type CNINetworkingSpec struct {
UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"` UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"`
} }