-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #684 from OrangeBao/main
Merge release0.4.0 to main
- Loading branch information
Showing
22 changed files
with
452 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.0 | ||
creationTimestamp: null | ||
name: kubenestconfigurations.kosmos.io | ||
spec: | ||
group: kosmos.io | ||
names: | ||
kind: KubeNestConfiguration | ||
listKind: KubeNestConfigurationList | ||
plural: kubenestconfigurations | ||
singular: kubenestconfiguration | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: KubeNestConfiguration defines the configuration for KubeNest | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
kosmosKubeConfig: | ||
properties: | ||
allowNodeOwnbyMulticluster: | ||
description: AllowNodeOwnbyMulticluster indicates whether to allow | ||
nodes to be owned by multiple clusters. | ||
type: boolean | ||
type: object | ||
kubeInKubeConfig: | ||
properties: | ||
admissionPlugins: | ||
type: boolean | ||
anpMode: | ||
type: string | ||
apiServerReplicas: | ||
type: integer | ||
clusterCIDR: | ||
type: string | ||
etcdStorageClass: | ||
type: string | ||
etcdUnitSize: | ||
type: string | ||
forceDestroy: | ||
type: boolean | ||
type: object | ||
kubeNestType: | ||
type: string | ||
metadata: | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: kosmos-hostports | ||
namespace: kosmos-system | ||
data: | ||
config.yaml: | | ||
# ports allocate for virtual cluster api server,from 33001, increment by 1 for each virtual cluster.Be careful not to use ports that are already in use | ||
portsPool: | ||
- 33001 | ||
- 33002 | ||
- 33003 | ||
- 33004 | ||
- 33005 | ||
- 33006 | ||
- 33007 | ||
- 33008 | ||
- 33009 | ||
- 33010 | ||
# when port is allocate from pool,it will be used for virtual cluster api server,and the port will be released after virtual cluster is deleted | ||
clusterPorts: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.