File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ pkg/kubectl/generate/versioned
160
160
pkg/kubectl/metricsutil
161
161
pkg/kubectl/util/templates
162
162
pkg/kubelet
163
- pkg/kubelet/apis
164
163
pkg/kubelet/apis/config
165
164
pkg/kubelet/apis/config/v1beta1
166
165
pkg/kubelet/apis/deviceplugin/v1beta1
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ limitations under the License.
17
17
package apis
18
18
19
19
const (
20
+ // AnnotationProvidedIPAddr is a node IP annotation set by the "external" cloud provider.
20
21
// When kubelet is started with the "external" cloud provider, then
21
22
// it sets this annotation on the node to denote an ip address set from the
22
23
// cmd line flag (--node-ip). This ip is verified with the cloudprovider as valid by
Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ import (
24
24
)
25
25
26
26
const (
27
- // HypervIsolationAnnotationKey and HypervIsolationValue are used to run windows containers with hyperv isolation.
27
+ // HypervIsolationAnnotationKey is used to run windows containers with hyperv isolation.
28
28
// Refer https://aka.ms/hyperv-container.
29
29
HypervIsolationAnnotationKey = "experimental.windows.kubernetes.io/isolation-type"
30
- HypervIsolationValue = "hyperv"
30
+ // HypervIsolationValue is used to run windows containers with hyperv isolation.
31
+ // Refer https://aka.ms/hyperv-container.
32
+ HypervIsolationValue = "hyperv"
31
33
)
32
34
33
35
// ShouldIsolatedByHyperV returns true if a windows container should be run with hyperv isolation.
Original file line number Diff line number Diff line change @@ -24,10 +24,15 @@ import (
24
24
)
25
25
26
26
const (
27
- // The OS/Arch labels are promoted to GA in 1.14. kubelet applies both beta
27
+ // LabelOS is a label to indicate the operating system of the node.
28
+ // The OS labels are promoted to GA in 1.14. kubelet applies both beta
28
29
// and GA labels to ensure backward compatibility.
29
- // TODO: stop applying the beta OS/Arch labels in Kubernetes 1.18.
30
- LabelOS = "beta.kubernetes.io/os"
30
+ // TODO: stop applying the beta OS labels in Kubernetes 1.18.
31
+ LabelOS = "beta.kubernetes.io/os"
32
+ // LabelArch is a label to indicate the architecture of the node.
33
+ // The Arch labels are promoted to GA in 1.14. kubelet applies both beta
34
+ // and GA labels to ensure backward compatibility.
35
+ // TODO: stop applying the beta Arch labels in Kubernetes 1.18.
31
36
LabelArch = "beta.kubernetes.io/arch"
32
37
33
38
// GA versions of the legacy beta labels.
You can’t perform that action at this time.
0 commit comments