1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Add fail swap on option to kubelet in rke

This commit is contained in:
galal-hussein
2018-02-03 04:09:58 +02:00
committed by Darren Shepherd
parent 3c50ca8493
commit bfd6a6afc4
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ const (
KubeletServiceFieldClusterDNSServer = "clusterDnsServer"
KubeletServiceFieldClusterDomain = "clusterDomain"
KubeletServiceFieldExtraArgs = "extraArgs"
KubeletServiceFieldFailSwapOn = "failSwapOn"
KubeletServiceFieldImage = "image"
KubeletServiceFieldInfraContainerImage = "infraContainerImage"
)
@@ -13,6 +14,7 @@ type KubeletService struct {
ClusterDNSServer string `json:"clusterDnsServer,omitempty"`
ClusterDomain string `json:"clusterDomain,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
FailSwapOn *bool `json:"failSwapOn,omitempty"`
Image string `json:"image,omitempty"`
InfraContainerImage string `json:"infraContainerImage,omitempty"`
}