Comments (6)
closing as #159 was merged.
from draft-classic.
If someone has a generic docker image to deploy any C# project as a docker image similar to python's onbuild image then I'm all for a PR.
from draft-classic.
Hi @seanknox @bacongobbler, here's a PR adding .NET Core support #159
from draft-classic.
@alexpilotti - I was hacking around on this today as well - wanted to go ahead & commit my working in-progress in the event that there's anything useful you'd like to pull into your PR: https://github.com/noelbundick/draft/commit/a097712e1f72a118d077414f9044c97633e18fbb
My Dockerfile has a few bits to let you run 'draft up' from any folder (ie - the project doesn't have to be named WebApplication.dll). I think this is pretty nice given that Draft makes things easy by default
I encountered some problems with the livenessProbe - Kubernetes kept killing my pods until I added an initialDelaySeconds of 60 or so. I was also using the dotnet:latest image rather than aspnetcore-build, so that may explain the difference in startup time
from draft-classic.
@noelbundick thanks for sharing your thoughts and code! I was also thinking about a clean way to avoid hardcoding the DLL name, it's definitely a requirement moving forward. I'll be happy to review and include your changes.
About the initialDelaySeconds, I'll do more tests as well and get back tomorrow with the results.
As a side note, I'm testing this Starter Pack on top of #158, as I need to run draft on Windows.
from draft-classic.
@noelbundick I did more tests and as result I increased the resources requests / limits memory to 256Mi and also set the livenessProbe to 60 initialDelaySeconds as you suggested.
from draft-classic.
Related Issues (20)
- Support helm secrets
- Go Modules support HOT 3
- Old Kubernetes API extensions created in manifest file HOT 1
- Will the support for draft is going to get over? HOT 2
- Draft fails to create app if chart templates contain subdirectories
- `draft pack-repo update` fails with local pack repositories
- Support for client.authentication.k8s.io/v1beta1 HOT 3
- Use latest version of helm HOT 1
- Support for helm without Tiller HOT 1
- draft up with monorepo HOT 2
- No pod created after successful draft up HOT 1
- Draft is broken if your user path has spaces
- adduser: Only one or two names allowed. HOT 1
- Draft generates outdated helm chart for python pack HOT 1
- Support for newer k8s versions (e.g. 1.16) HOT 4
- This project is no longer being actively developed or maintained? HOT 6
- Draft up not working with helm3 HOT 3
- AppVeyor build fails HOT 1
- Does draft work w/ helm 3? HOT 1
- Allow customizing build dir HOT 1
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 draft-classic.