Skip to content

Commit

Permalink
Merge pull request #71 from matskiv/two-small-typos
Browse files Browse the repository at this point in the history
Fix two small typos
  • Loading branch information
FabianKramm authored Jul 3, 2021
2 parents 1bb0a22 + 7aadf72 commit 1bd74c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/vclusterctl/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func SetGlobalFlags(flags *flag.FlagSet) *GlobalFlags {
flags.BoolVar(&globalFlags.Debug, "debug", false, "Prints the stack trace if an error occurs")
flags.StringVar(&globalFlags.Context, "context", "", "The kubernetes config context to use")
flags.StringVarP(&globalFlags.Namespace, "namespace", "n", "", "The kubernetes namespace to use")
flags.BoolVar(&globalFlags.Silent, "silent", false, "Run in silent mode and prevents any devspace log output except panics & fatals")
flags.BoolVar(&globalFlags.Silent, "silent", false, "Run in silent mode and prevents any vcluster log output except panics & fatals")

return globalFlags
}
2 changes: 1 addition & 1 deletion docs/pages/architecture/basics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ To provision a vcluster, a user should never be required to have any cluster-wid
### 6. Single Namespace Encapsulation
Each vcluster and all the workloads and data inside the vcluster should be encapsulated into a single namespace. Even if the vcluster has hundreds of namespaces, in the underlying [host cluster](#host-cluster--namespace), everything will be encapsulated into a single [host namespace](#host-cluster--namespace).

**Implementation:** This is mainly achieved by using a separate API server and data store and by the design of the syncer which synchronizes everything to a single underlying host namespace while renameing resources during the sync to prevent naming conflicts when mapping from multiple namespaces inside the vcluster to a single namespace in the host cluster.
**Implementation:** This is mainly achieved by using a separate API server and data store and by the design of the syncer which synchronizes everything to a single underlying host namespace while renaming resources during the sync to prevent naming conflicts when mapping from multiple namespaces inside the vcluster to a single namespace in the host cluster.

### 7. Easy Cleanup
vclusters should not have any hard wiring with the underlying cluster. Deleting a vcluster or merely deleting the vcluster's [host namespace](#host-cluster--namespace) should always be possible without any negative impacts on the underlying cluster (no namespaces stuck in terminating state or anything comparable) and should always guarantee that all vcluster-related resources are being deleted cleanly and immediately without leaving any orphan resources behind.
Expand Down

0 comments on commit 1bd74c2

Please sign in to comment.