-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Artur Troian <troian.ap@gmail.com>
- Loading branch information
Showing
85 changed files
with
9,890 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
version: "2.0" | ||
services: | ||
web: | ||
image: nginx | ||
expose: | ||
- port: 80 | ||
accept: | ||
- ahostname.com | ||
to: | ||
- global: true | ||
- port: 12345 | ||
to: | ||
- global: true | ||
proto: udp | ||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: "100m" | ||
memory: | ||
size: "128Mi" | ||
storage: | ||
size: "1Gi" | ||
placement: | ||
westcoast: | ||
attributes: | ||
region: us-west | ||
signedBy: | ||
anyOf: | ||
- 1 | ||
- 2 | ||
allOf: | ||
- 3 | ||
- 4 | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 50 | ||
deployment: | ||
webapp: | ||
westcoast: | ||
profile: web | ||
count: 2 |
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,58 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: anapsix/webdis | ||
env: | ||
- REDIS_HOST=redis-server | ||
expose: | ||
- port: 7379 | ||
as: 80 | ||
to: | ||
- global: true | ||
accept: | ||
- webdistest.localhost | ||
|
||
redis-server: | ||
image: redis:rc-alpine3.12 | ||
expose: | ||
- port: 6379 | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: 0.1 | ||
memory: | ||
size: 16Mi | ||
storage: | ||
size: 128Mi | ||
redis-server: | ||
resources: | ||
cpu: | ||
units: 0.1 | ||
memory: | ||
size: 64Mi | ||
storage: | ||
size: 128Mi | ||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 9000 | ||
redis-server: | ||
denom: uakt | ||
amount: 9000 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 | ||
redis-server: | ||
global: | ||
profile: redis-server | ||
count: 1 |
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,58 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: anapsix/webdis | ||
env: | ||
- REDIS_HOST=redis-server | ||
expose: | ||
- port: 7379 | ||
as: 80 | ||
to: | ||
- global: true | ||
accept: | ||
- webdistest.localhost | ||
|
||
redis-server: | ||
image: redis:rc-alpine3.12 | ||
expose: | ||
- port: 6379 | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: 0.1 | ||
memory: | ||
size: 16Mi | ||
storage: | ||
size: 128Mi | ||
redis-server: | ||
resources: | ||
cpu: | ||
units: 0.1 | ||
memory: | ||
size: 64Mi | ||
storage: | ||
size: 128Mi | ||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 10000000 | ||
redis-server: | ||
denom: uakt | ||
amount: 10000000 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 | ||
redis-server: | ||
global: | ||
profile: redis-server | ||
count: 1 |
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,41 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
ip: "meow" | ||
accept: | ||
- test.localhost | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: "0.01" | ||
memory: | ||
size: "128Mi" | ||
storage: | ||
size: "512Mi" | ||
|
||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 10 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 | ||
|
||
endpoints: | ||
meow: | ||
kind: "ip" |
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,37 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
accept: | ||
- leaveme.com | ||
- migrateme.com | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: "0.01" | ||
memory: | ||
size: "128Mi" | ||
storage: | ||
size: "512Mi" | ||
|
||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 10 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 |
69 changes: 69 additions & 0 deletions
69
go/sdl/_testdata/legacy/deployment-v2-multi-groups-ip-endpoint.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,69 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
ip: "meow" | ||
accept: | ||
- test.localhost | ||
anotherweb: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
ip: "kittens" | ||
accept: | ||
- extratest.localhost | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: "0.01" | ||
memory: | ||
size: "128Mi" | ||
storage: | ||
size: "512Mi" | ||
bob: | ||
resources: | ||
cpu: | ||
units: "0.13" | ||
memory: | ||
size: "256Mi" | ||
storage: | ||
size: "99Mi" | ||
|
||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 10 | ||
bob: | ||
pricing: | ||
bob: | ||
denom: uakt | ||
amount: 99 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 | ||
anotherweb: | ||
bob: | ||
profile: bob | ||
count: 3 | ||
|
||
endpoints: | ||
meow: | ||
kind: "ip" | ||
kittens: | ||
kind: "ip" |
56 changes: 56 additions & 0 deletions
56
go/sdl/_testdata/legacy/deployment-v2-multi-ip-endpoint.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,56 @@ | ||
--- | ||
version: "2.0" | ||
|
||
services: | ||
web: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
ip: "meow" | ||
accept: | ||
- test.localhost | ||
anotherweb: | ||
image: ghcr.io/akash-network/demo-app | ||
expose: | ||
- port: 80 | ||
to: | ||
- global: true | ||
ip: "kittens" | ||
accept: | ||
- extratest.localhost | ||
|
||
profiles: | ||
compute: | ||
web: | ||
resources: | ||
cpu: | ||
units: "0.01" | ||
memory: | ||
size: "128Mi" | ||
storage: | ||
size: "512Mi" | ||
|
||
placement: | ||
global: | ||
pricing: | ||
web: | ||
denom: uakt | ||
amount: 10 | ||
|
||
deployment: | ||
web: | ||
global: | ||
profile: web | ||
count: 1 | ||
anotherweb: | ||
global: | ||
profile: web | ||
count: 3 | ||
|
||
endpoints: | ||
meow: | ||
kind: "ip" | ||
kittens: | ||
kind: "ip" |
Oops, something went wrong.