Skip to content

Commit

Permalink
Merge pull request #13 from ibuildthecloud/master
Browse files Browse the repository at this point in the history
Fix helm upgrade misconfigured
  • Loading branch information
ibuildthecloud authored Mar 31, 2020
2 parents 498297b + 0425650 commit 9a80521
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ of one week. That can be change to sort or to longer to forever.
The service accounts give to clusters only have privileges to list `BundleDeployment` in the namespace created
specifically for that cluster. It can also update the `status` subresource of `BundleDeployment`

### Scalability

Fleet is designed to scale up to 1 million clusters. The is done using a federated model. The master Fleet
manager can designate downstream clusters as federated managers. New clusters can be registered to the federated
manager. This reduced the TCP connection load of the main fleet manager. Also all the BundleDeployments and Cluster
resources only exist in the federated managers and only the Bundle and ClusterGroup summaries are reported up to
the central master. The fundamental assumption is that while you may have 1 million clusters, you will still have less
than about 10000 Bundles and Cluster Groups. This architecture is still being developed.

## Installation

### Manager installation
Expand Down
3 changes: 3 additions & 0 deletions modules/cli/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ func save(client *client.Getter, bundle *fleet.Bundle) error {
obj, err := c.Fleet.Bundle().Get(bundle.Namespace, bundle.Name, metav1.GetOptions{})
if apierrors.IsNotFound(err) {
_, err = c.Fleet.Bundle().Create(bundle)
if err == nil {
fmt.Printf("%s/%s\n", obj.Namespace, obj.Name)
}
return err
} else if err != nil {
return err
Expand Down
2 changes: 2 additions & 0 deletions pkg/helmdeployer/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func (h *helm) install(bundleID string, manifest *manifest.Manifest, chart *char
u.DryRun = dryRun
u.PostRenderer = &postRender{
bundleID: bundleID,
manifest: manifest,
opts: options,
}
return u.Run(bundleID, chart, vals)
}
Expand Down

0 comments on commit 9a80521

Please sign in to comment.