-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added nais yaml and templating files
- Loading branch information
Showing
2 changed files
with
44 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,11 @@ | ||
{ | ||
"ingresses": ["https://johnny.dev-fss.nais.io"], | ||
This comment has been minimized.
Sorry, something went wrong. |
||
"resources": { | ||
"limits": { "cpu": "250m", "memory": "256Mi" }, | ||
"requests": { "cpu": "100m", "memory": "128Mi" } | ||
}, | ||
"envs": [ | ||
{ "name": "foo", "value": "bar" }, | ||
{ "name": "asdf", "value": "123" } | ||
] | ||
} |
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,33 @@ | ||
apiVersion: "nais.io/v1alpha1" | ||
kind: "Application" | ||
metadata: | ||
name: johnny | ||
namespace: default | ||
labels: | ||
team: aura | ||
spec: | ||
image: docker.pkg.github.com/nais/testapp/testapp:latest | ||
port: 8080 | ||
liveness: | ||
path: /ping | ||
readiness: | ||
path: /ping | ||
replicas: | ||
min: 2 | ||
max: 4 | ||
ingresses: | ||
{{#each ingresses}} | ||
- {{this}} | ||
{{/each}} | ||
resources: | ||
limits: | ||
cpu: {{resources.limits.cpu}} | ||
memory: {{resources.limits.memory}} | ||
requests: | ||
cpu: {{resources.requests.cpu}} | ||
memory: {{resources.requests.memory}} | ||
env: | ||
{{#each envs}} | ||
- name: "{{name}}" | ||
value: "{{value}}" | ||
{{/each}} |
1 comment
on commit a7a4d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Er det noen grunn til å ha skjulte filer?
Nye ingresser? Eller funker denne kun på GCP?