Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
anneliawa committed Aug 23, 2023
2 parents e7fd1c4 + 2edab92 commit d5cfb36
Show file tree
Hide file tree
Showing 14 changed files with 115 additions and 404 deletions.
13 changes: 12 additions & 1 deletion public-site/docs/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,18 @@ export default defineUserConfig({
'/guides/enable-and-disable-components/',
'/guides/external-alias/',
'/guides/component-start-stop-restart/',
'/guides/jobs/',
{
link: '/guides/jobs/',
text: "Jobs",
collapsible: true,
children: [
'/guides/jobs/configure-jobs',
'/guides/jobs/job-manager-and-job-api',
'/guides/jobs/environment-variables',
'/guides/jobs/jobs-in-web-console',
'/guides/jobs/openapi-swagger'
]
},
'/guides/deploy-only/',
'/guides/build-and-deploy/',
'/guides/deployment-promotion/',
Expand Down
4 changes: 1 addition & 3 deletions public-site/docs/src/docs/topic-rollingupdate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ Rolling updates ensure that the application is always available at pod level. Ho
Radix uses readiness probe to minimize this downtime as close to zero as possible, where TCP socket is utilized. Kubernetes will attempt to open a TCP socket to the application container on the port specified in `radixconfig.yaml` file according to the following two parameters.

- Initial delay seconds where Kubernetes will wait before performing the first probe after the container has started (currently set by Radix to 5 seconds)
- Period seconds interval where Kubernetes will perform the probes after the initial probe (currently set by Radix to 10 seconds)

HTTP probe to the application is planned to be implemented in the future to ensure absolute zero downtime. However, this will require Radix users to provide an endpoint in their applications where Kubernetes will perform the probe.
- Period seconds interval where Kubernetes will perform the probes after the initial probe (currently set by Radix to 10 seconds)
8 changes: 7 additions & 1 deletion public-site/docs/src/docs/topic-uptime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,10 @@ Use Playground for testing Radix, see if it’s a good fit for your projects, an

- **Uptime:** "Best-effort", but no guarantee of uptime. Planned maintenance is announced as early as possible

**Please note:** applications hosted in the Playground cluster may need to be re-registered after maintenance, upgrades or migrations. All such required actions from your part will be communicated in the Radix slack channel.
### Automatic cleanup in Playground cluster

A stricter lifecycle policy for using Radix Playground is in place, to make sure everybody share the resources and avoid unattended applications using unnecessary resources.

Any application which has not been **deployed** or **restarted** in the last `7 days` will be stopped.

After further `21 days` of inactivity, all stopped applications will be **deleted**.
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:
git push origin HEAD:main
- name: 'Get environment from branch' # for "deploy only" pipeline workflow
id: getEnvironment
uses: equinor/radix-github-actions@main
uses: equinor/radix-github-actions@v1
with:
args: >
get config branch-environment
--from-config
-b ${GITHUB_REF##*/}
- name: 'Deploy API on Radix'
uses: equinor/radix-github-actions@main
uses: equinor/radix-github-actions@v1
with:
args: >
create job
Expand All @@ -99,7 +99,7 @@ jobs:
Following are last steps for "Build and deploy" pipeline workflow (e.g. when some application components need to be built):
```yaml
- name: 'Build and deploy API on Radix'
uses: equinor/radix-github-actions@main
uses: equinor/radix-github-actions@v1
with:
args: >
create job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
-d '{"secretValue":"new value"}' \
-H 'Authorization: Bearer ${{ env.APP_SERVICE_ACCOUNT_TOKEN }}'
- name: Restart qa env
uses: equinor/radix-github-actions@master
uses: equinor/radix-github-actions@v1
with:
args: >
restart
Expand Down
Loading

0 comments on commit d5cfb36

Please sign in to comment.