Comments (4)
What command specifically is causing an issue? What are the logs?
from tutor.
This is a good point. I manage a "sandbox" instance at work. This "sandbox" part means that users and courses are being wiped once in a while. The namespace itself and the cleanup CronJob
s are deployed by FluxCD. So, if I run tutor k8s delete
tutor delete the cleanup CronJob
s and the namespace which is suboptimal in my opinion. There has to be a way to configure tutor to omit deleting objects that was not deployed by tutor. Maybe a flag in config.yml like K8S_EXTERNAL_NAMESPACE
set to true
to tell tutor to not manage the namespace. @regisb What do you think?
from tutor.
Ah, sorry for not coming back earlier, I somehow missed the answer. Yes, it's the fact that the namespace being deleted while externally managed (ArgoCD in our case). ArgoCD allows us to provision k8s environments for projects (including the namespace, roles and so on), such that the user works within their assigned NS and permissions.
A flag as suggested by @snglth would be perfect for our use case as well.
from tutor.
Let's not add a new configuration setting without further consideration. There are alternatives:
- On
tutor k8s delete
, all tutor does is runningkubectl delete -k ~/.local/share/tutor/env --ignore-not-found=true --wait
, as per the console output. I think it's pretty easy to run this command manually to add custom filters there, right? - Alternatively we could add a
--exclude-namespace
option totutor k8s delete
.
from tutor.
Related Issues (20)
- django-require miss URL HOT 3
- Docker container logs fill up disk space on production servers HOT 12
- K8s: Disabling `RUN_MYSQL` should also not deploy the mysql init job HOT 1
- Upgrade to Mongo 7 HOT 3
- Documentation update: Gmail SMTP settings
- K8s deployment fails when there's no persistent volume claims to apply HOT 4
- Add ability to patch proxy config in Caddy
- On Windows `tutor dev start` fails because of "Permission denied"
- edx-enterprise migration missing HOT 1
- Autocomplete failed after installing plugin HOT 1
- Do not apply git patches when using a brach based on but different than master while using Tutor Nightly
- K8S: Unable to view logs when we have running more than 5 pods of service
- Supply MySQL 8.2 or 8.3 by default HOT 2
- I just want to install this with Docker-compose I don't need a special magical configurator. HOT 2
- Redwood sandbox preparation HOT 14
- Installing tutor latest (17.04) HOT 2
- Compose `version` property is obsolete HOT 2
- Security patching for Quince HOT 6
- tutor build image openedx fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutor.