Skip to content

Commit 9f98746

Browse files
committed
fix gitignore for quickstart-concurrent to allow devspace.yaml
1 parent 6744f85 commit 9f98746

File tree

2 files changed

+69
-1
lines changed

2 files changed

+69
-1
lines changed

examples/quickstart-concurrent/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ Dockerfile
33
chart/
44
node_modules/
55
test/
6-
devspace.yaml
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
version: v1beta11
2+
vars: # `vars` specifies variables which may be used as ${VAR_NAME} in devspace.yaml
3+
- name: IMAGE
4+
value: loftsh/javascript:latest
5+
deployments: # `deployments` tells DevSpace how to deploy this project
6+
- name: quickstart-con-1
7+
concurrent: true
8+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
9+
componentChart: true
10+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
11+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
12+
containers:
13+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
14+
command: ["sleep", "infinity"]
15+
- name: quickstart-con-2
16+
concurrent: true
17+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
18+
componentChart: true
19+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
20+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
21+
containers:
22+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
23+
command: ["sleep", "infinity"]
24+
- name: quickstart-con-3
25+
concurrent: true
26+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
27+
componentChart: true
28+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
29+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
30+
containers:
31+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
32+
command: ["sleep", "infinity"]
33+
- name: quickstart-con-4
34+
concurrent: true
35+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
36+
componentChart: true
37+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
38+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
39+
containers:
40+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
41+
command: ["sleep", "infinity"]
42+
- name: quickstart-con-5
43+
concurrent: true
44+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
45+
componentChart: true
46+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
47+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
48+
containers:
49+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
50+
command: ["sleep", "infinity"]
51+
- name: quickstart-seq-1
52+
helm: # This deployment uses `helm` but you can also define `kubectl` deployments or kustomizations
53+
componentChart: true
54+
displayOutput: true # We are deploying the so-called Component Chart: https://devspace.sh/component-chart/docs
55+
values: # Under `values` we can define the values for this Helm chart used during `helm install/upgrade`
56+
containers:
57+
- image: ${IMAGE} # Use the value of our `${IMAGE}` variable here (see vars above)
58+
command: ["sleep", "infinity"]
59+
dev: # `dev` only applies when you run `devspace dev`
60+
ports: # `dev.ports` specifies all ports that should be forwarded while `devspace dev` is running
61+
- imageSelector: ${IMAGE} # Select the Pod that runs our `${IMAGE}`
62+
forward:
63+
- port: 3000 # lets you access your application via localhost:3000 on your local machine
64+
sync: # `dev.sync` configures a file sync between our Pods in k8s and your local project files
65+
- imageSelector: ${IMAGE} # Select the Pod that runs our `${IMAGE}`
66+
excludeFile: .gitignore # Exclude everything defined in .gitignore
67+
terminal: # `dev.terminal` tells DevSpace to open a terminal as a last step during `devspace dev`
68+
imageSelector: ${IMAGE} # Select the Pod that runs our `${IMAGE}`
69+
command: ["./devspace_start.sh"] # With this optional `command` we can tell DevSpace to run a script when opening the terminal

0 commit comments

Comments
 (0)