TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Sanic – A Comprehensive CLI for Kubernetes

82 点作者 colinchartier将近 6 年前

14 条评论

geezerjay将近 6 年前
The name is rather unfortunate as there is already a software project with that name: Sanic, Python async web framework.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;huge-success&#x2F;sanic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;huge-success&#x2F;sanic</a>
评论 #20340405 未加载
评论 #20339763 未加载
评论 #20342124 未加载
btreecat将近 6 年前
<a href="https:&#x2F;&#x2F;sanic.readthedocs.io&#x2F;en&#x2F;latest&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;sanic.readthedocs.io&#x2F;en&#x2F;latest&#x2F;index.html</a>
alpb将近 6 年前
Many of the environment-specific functionality provided by this tool can be more declaratively achieved by kustomize (<a href="https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;tasks&#x2F;manage-kubernetes-objects&#x2F;kustomization&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;tasks&#x2F;manage-kubernetes-objects&#x2F;k...</a>) as well as direnv (<a href="https:&#x2F;&#x2F;direnv.net" rel="nofollow">https:&#x2F;&#x2F;direnv.net</a>) by automatically running commands to change environment etc when changing directories.
评论 #20338896 未加载
colinchartier将近 6 年前
Hey HN!<p>At the startup I last worked at, we used a Docker&#x2F;Kubernetes stack for our SaaS product.<p>We found the lack of environment &#x2F; concurrent build support a huge bottleneck though, so I developed a tool to make it much easier to deploy kubernetes projects.<p>I recently open sourced it and launched it, take a look! [1]<p>The website itself is also using sanic and open source, in case you want an example [2]<p>Please let me know if you have any feedback! I&#x27;d love to know which features are most important to work on next.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;distributed-containers-inc&#x2F;sanic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;distributed-containers-inc&#x2F;sanic</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;distributed-containers-inc&#x2F;sanic-site" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;distributed-containers-inc&#x2F;sanic-site</a>
评论 #20342146 未加载
tylfin将近 6 年前
I might be a little slow here, but I don&#x27;t think I totally understand the use-case.<p>The parallel docker build &#x2F; pushing to a registry is definitely cool.<p>Isn&#x27;t the parallel Kubernetes deployment the same as `kubectl apply -f .`?<p>My experience has always been: GitOps w&#x2F; version controlled yaml so when a deploy is triggered all the tests run, if that&#x27;s successful then a sed is performed to replace some placeholder with the new image tags then it&#x27;s just `kubectl apply -f .`
评论 #20338794 未加载
magicnubs将近 6 年前
Based on the name, color scheme and use of the infinity symbol (∞), I&#x27;m assuming the name is based off of this fella? <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=sanic" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=sanic</a>
评论 #20338937 未加载
评论 #20338850 未加载
archy_将近 6 年前
Any particular reason you chose that name? I keep thinking about the meme by the same name
评论 #20338082 未加载
anirudh4444将近 6 年前
Nice tutorial and idea. Definitely like the focus on UX. I think that&#x27;s an important aspect of any dev-centric tooling that often goes neglected, as has some of the lower level tooling around this in the past. IMO, Config and deployment management seems like one of those things where the barrier to entry is low enough that each opinionated developer reinvents it rather than work within the constraints of some existing tool.
johnmarcus将近 6 年前
some honest feedback from someone avidly using K8s since 1.1.<p>- im not sure what k8s problem this is solving. the first thing your talking about is building docker images, which k8s has nothing to do with. - are the k8s config files accessible? where are they? - the sanic.yaml file looks like yet another DSL i need to learn. how is that simplifying things for me? i have no idea what your example config file is doing either, none of it seems to obviously map to anything in kubernetes.<p>This feels like more of a docker build cli than a kubernetes cli. also, does this actually create clusters? like kops does? if not, this just seems to add a tool to the toolchain rather than simplifying anything.<p>idk, maybe it&#x27;s cool, but it seems complicated.
levi_n将近 6 年前
Im very interested in trying this! Looks like the download page only supplies a linux binary at the moment: any plans to offer a Mac OS version too?<p>For what it&#x27;s worth, I was able to build a Mac OS version locally.
评论 #20338862 未加载
bemidji将近 6 年前
Looks good! Kubernetes has historically been a huge pain to deal with; If this smooths out the process I might use it for my next project.
smoyer将近 6 年前
I&#x27;m using an OpenDyslexic font and your page elements don&#x27;t seem to recognize the bounding boxes of the text in this font.
评论 #20339294 未加载
misterbubs将近 6 年前
I like the tutorial.
wiradikusuma将近 6 年前
Does it work with K3S?