Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kubernetes 1.30 #16

Merged
merged 8 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: deploy

on:
push:
branches: [main, deploy, self-hosted-runner]
branches: [main, deploy, k8s-130]

jobs:
deploy:
Expand All @@ -17,10 +17,10 @@ jobs:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
ENV_URL: https://facets.caktus-built.com/
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
cache: pip
cache-dependency-path: example-facets/deploy/requirements.txt
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions example-facets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ ENV UWSGI_HTTP=:8000 UWSGI_MASTER=1 UWSGI_HTTP_AUTO_CHUNKED=1 UWSGI_HTTP_KEEPALI
# Number of uWSGI workers and threads per worker (customize as needed):
ENV UWSGI_WORKERS=2 UWSGI_THREADS=4

# Reload workers after the specified amount of managed requests (avoid memory leaks)
ENV UWSGI_MAX_REQUESTS=1000

# uWSGI static file serving configuration (customize or comment out if not needed):
ENV UWSGI_STATIC_MAP="/static/=/public/static/" UWSGI_STATIC_EXPIRES_URI="/static/.*\.[a-f0-9]{12,}\.(css|js|png|jpg|jpeg|gif|ico|woff|ttf|otf|svg|scss|map|txt) 315360000"

Expand Down
8 changes: 4 additions & 4 deletions example-facets/deploy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible==7.5.0
openshift==0.13.1
kubernetes-validate~=1.25.2
awscli==1.27.84
ansible==8.0.0
openshift==0.13.2
kubernetes-validate<1.31
awscli==1.36.17
2 changes: 1 addition & 1 deletion example-facets/deploy/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- src: https://github.com/caktus/ansible-role-django-k8s
name: caktus.django-k8s
version: v1.6.0
version: v1.9.0
Loading
Loading