github.com/kubernetes-incubator/kube-aws@v0.16.4/pkg/api/kubernetes.go (about)

     1  package api
     2  
     3  type Kubernetes struct {
     4  	Authentication             KubernetesAuthentication   `yaml:"authentication"`
     5  	EncryptionAtRest           EncryptionAtRest           `yaml:"encryptionAtRest"`
     6  	PodAutoscalerUseRestClient PodAutoscalerUseRestClient `yaml:"podAutoscalerUseRestClient"`
     7  	Networking                 Networking                 `yaml:"networking,omitempty"`
     8  	ControllerManager          ControllerManager          `yaml:"controllerManager,omitempty"`
     9  	KubeScheduler              KubeScheduler              `yaml:"kubeScheduler,omitempty"`
    10  	KubeProxy                  KubeProxy                  `yaml:"kubeProxy,omitempty"`
    11  	KubeApiServer              KubeApiServer              `yaml:"apiServer,omitempty"`
    12  	Kubelet                    Kubelet                    `yaml:"kubelet,omitempty"`
    13  	APIServer                  KubernetesAPIServer        `yaml:"apiserver,omitempty"`
    14  
    15  	// Manifests is a list of manifests to be installed to the cluster.
    16  	// Note that the list is sorted by their names by kube-aws so that it won't result in unnecessarily node replacements.
    17  	Manifests KubernetesManifests `yaml:"manifests,omitempty"`
    18  }
    19  
    20  type KubeApiServer struct {
    21  	ComputeResources ComputeResources `yaml:"resources,omitempty"`
    22  	TargetRamMb      int              `yaml:"targetRamMb,omitempty"`
    23  }
    24  
    25  type ControllerManager struct {
    26  	ComputeResources ComputeResources `yaml:"resources,omitempty"`
    27  	Flags            CommandLineFlags `yaml:"flags,omitempty"`
    28  }
    29  
    30  type KubeScheduler struct {
    31  	ComputeResources ComputeResources `yaml:"resources,omitempty"`
    32  	Flags            CommandLineFlags `yaml:"flags,omitempty"`
    33  }
    34  
    35  type ComputeResources struct {
    36  	Requests ResourceQuota `yaml:"requests,omitempty"`
    37  	Limits   ResourceQuota `yaml:"limits,omitempty"`
    38  }
    39  
    40  type ResourceQuota struct {
    41  	Cpu    string `yaml:"cpu"`
    42  	Memory string `yaml:"memory"`
    43  }