mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #35861 from madhusudancs/federation-kubefed-init-04
Automatic merge from submit-queue [Federation][init-04] Explicitly specify the number of API server and controller manager replicas. Please review only the last commit here. This is based on PR #35860 which will be reviewed independently. Design Doc: PR #34484 cc @kubernetes/sig-cluster-federation @nikhiljindal
This commit is contained in:
commit
267c763702
@ -27,6 +27,7 @@ limitations under the License.
|
||||
// 6. Add the ability to customize DNS domain suffix. It should probably be derived
|
||||
// from cluster config.
|
||||
// 7. Make etcd PVC size configurable.
|
||||
// 8. Make API server and controller manager replicas customizable via the HA work.
|
||||
package init
|
||||
|
||||
import (
|
||||
@ -383,6 +384,7 @@ func createAPIServer(clientset *client.Clientset, namespace, name, credentialsNa
|
||||
Labels: componentLabel,
|
||||
},
|
||||
Spec: extensions.DeploymentSpec{
|
||||
Replicas: 1,
|
||||
Template: api.PodTemplateSpec{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: name,
|
||||
@ -462,6 +464,7 @@ func createControllerManager(clientset *client.Clientset, namespace, name, kubec
|
||||
Labels: componentLabel,
|
||||
},
|
||||
Spec: extensions.DeploymentSpec{
|
||||
Replicas: 1,
|
||||
Template: api.PodTemplateSpec{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user