-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move docs * move configs into components * update checluster to match default for new instance * add combined overlay * convert devspaces to symlink * add autoscaling * fix yaml lint errors * add network policy
- Loading branch information
1 parent
c95087b
commit e137200
Showing
25 changed files
with
112 additions
and
199 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ approver | |
argocd | ||
argoproj | ||
arn | ||
autoscaling | ||
aws | ||
canada | ||
ceph | ||
|
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 @@ | ||
openshift-dev-spaces |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
devspaces/instance/overlays/timeout-12m/kustomization.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
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 |
---|---|---|
@@ -1,49 +1,36 @@ | ||
apiVersion: org.eclipse.che/v1 | ||
apiVersion: org.eclipse.che/v2 | ||
kind: CheCluster | ||
metadata: | ||
name: devspaces | ||
namespace: openshift-devspaces | ||
spec: | ||
auth: | ||
externalIdentityProvider: false | ||
identityProviderContainerResources: | ||
limits: {} | ||
request: {} | ||
identityProviderIngress: {} | ||
identityProviderRoute: {} | ||
updateAdminPassword: false | ||
dashboard: {} | ||
database: | ||
chePostgresContainerResources: | ||
limits: {} | ||
request: {} | ||
externalDb: false | ||
devWorkspace: | ||
enable: true | ||
imagePuller: | ||
enable: false | ||
spec: {} | ||
k8s: {} | ||
metrics: | ||
enable: true | ||
server: | ||
allowUserDefinedWorkspaceNamespaces: false | ||
cheServerIngress: {} | ||
cheServerRoute: {} | ||
dashboardIngress: {} | ||
dashboardRoute: {} | ||
devfileRegistryIngress: {} | ||
devfileRegistryRoute: {} | ||
externalDevfileRegistry: false | ||
externalPluginRegistry: false | ||
gitSelfSignedCert: false | ||
pluginRegistryIngress: {} | ||
pluginRegistryRoute: {} | ||
selfSignedCert: false | ||
tlsSupport: false | ||
useInternalClusterSVCNames: false | ||
workspaceNamespaceDefault: <username>-devspaces | ||
storage: | ||
preCreateSubPaths: true | ||
pvcClaimSize: 10Gi | ||
pvcStrategy: common | ||
components: | ||
cheServer: | ||
debug: false | ||
logLevel: INFO | ||
dashboard: | ||
logLevel: ERROR | ||
metrics: | ||
enable: true | ||
containerRegistry: {} | ||
devEnvironments: | ||
startTimeoutSeconds: 300 | ||
secondsOfRunBeforeIdling: -1 | ||
maxNumberOfWorkspacesPerUser: -1 | ||
containerBuildConfiguration: | ||
openShiftSecurityContextConstraint: container-build | ||
defaultNamespace: | ||
autoProvision: true | ||
template: <username>-devspaces | ||
secondsOfInactivityBeforeIdling: 1800 | ||
storage: | ||
pvcStrategy: per-user | ||
gitServices: {} | ||
networking: | ||
auth: | ||
gateway: | ||
kubeRbacProxy: | ||
logLevel: 0 | ||
oAuthProxy: | ||
cookieExpireSeconds: 86400 | ||
traefik: | ||
logLevel: INFO |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ namespace: openshift-devspaces | |
resources: | ||
- checluster.yaml | ||
- namespace.yaml | ||
- network-policy.yaml |
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
openshift-dev-spaces/instance/components/allow-autoscaling/README.md
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,19 @@ | ||
# allow-autoscaling | ||
|
||
## Purpose | ||
This component is designed to extend the timeout period for requesting new DevSpaces environments to start. The 12 minute timeout can be leveraged with autoscaling nodes with GPUs. | ||
|
||
## Usage | ||
|
||
This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file: | ||
|
||
``` | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../base | ||
components: | ||
- ../../components/allow-autoscaling | ||
``` |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
openshift-dev-spaces/instance/components/allow-autoscaling/kustomization.yaml
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,10 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
resources: | ||
- devworkspace-config.yaml | ||
|
||
patches: | ||
- path: patch-checluster.yaml | ||
target: | ||
kind: CheCluster |
12 changes: 12 additions & 0 deletions
12
openshift-dev-spaces/instance/components/allow-autoscaling/patch-checluster.yaml
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,12 @@ | ||
apiVersion: org.eclipse.che/v2 | ||
kind: CheCluster | ||
metadata: | ||
name: devspaces | ||
spec: | ||
components: | ||
dashboard: | ||
headerMessage: | ||
show: true | ||
text: "Please be patient... GPUs may take up to 12 min to be available!" | ||
devEnvironments: | ||
StartTimeoutSeconds: 720 |
19 changes: 19 additions & 0 deletions
19
openshift-dev-spaces/instance/components/low-idle/README.md
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,19 @@ | ||
# timeout-12m | ||
|
||
## Purpose | ||
This component is designed to modify the amount of time a DevSpaces environment can remain idle before it is automatically shut down. | ||
|
||
## Usage | ||
|
||
This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file: | ||
|
||
``` | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../base | ||
components: | ||
- ../../components/low-idle | ||
``` |
8 changes: 2 additions & 6 deletions
8
...gate/overlays/low-idle/kustomization.yaml → ...ce/components/low-idle/kustomization.yaml
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
11 changes: 11 additions & 0 deletions
11
openshift-dev-spaces/instance/overlays/allow-autoscaling/kustomization.yaml
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,11 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: openshift-devspaces | ||
|
||
resources: | ||
- ../../base | ||
|
||
components: | ||
- ../../components/allow-autoscaling | ||
- ../../components/low-idle |