npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

angelscripts-k8s-deployments

v5.0.0

Published

Angelscripts for k8s deployments of node-organic cells

Downloads

627

Readme

angelscripts-k8s-deployments

Angelscripts for k8s deployments of node-organic cells

organic-angel scripts for generating docker compatible configuration and commands aiding kubernetes usage for node-organic / stem-skeleton v2.1 based cells

Works with angelscripts-dockerbuild.

prerequirements

  • kubectl
  • git
  • node / npm / npx

setup

$ npm i angelscripts-k8s-deployments --save
$ edit dna/cells/my-cell/production.yaml

custom kubeconfig

Create a .kubeconfig file within the repo root folder, it will be used for kubectl.

commands

angel kube :cmd

Executes kubectl :cmd by specifying --kubeconfig if custom config is provided.

angel release

Does angel release patch production default. ;)

angel release :versionChange :branchName :namespace

Targets current working directory as a cell and does an release of the cell to the default configured cluster.

  1. builds via packagejson.scripts.build, defaults to angel build
  2. publishes via packagejson.scripts.publish, defaults to angel publish
  3. commits package.json.version changes
  4. applies :branchName dna to kubernetes cluster at given :namespace
  5. tags and pushes to upstream git repository

angel k8s apply :branchName :namespace

Does kubectl apply and sources that with the dna contents as YAML at given :branchName

angel k8s fapply :branchName :namespace

Does kubectl -f apply and sources that with the dna contents as YAML at given :branchName

angel changes

Does a check of the current working repository, git tags and cell's dependencies for changes to be released. it returns non-zero status when there are changes.

Note that dynamically loaded modules won't be included for checks. An workaround is to provide packagejson.sources array of fast-glob patterns to be manually appended to the dependencies list.

angel k8s delete :branchName :namespace

Does kubectrl -f delete with the dna contents at :branchName

angel dna-to-yaml :branchName

Prints a dna contents at :branchName as YAML.

angel k8s logs :namespace

Connects to default cluster via kubectl logs and shows all logs from all containers/pods across the given namespace

TODO

PRs :smile:

  • angel cp uses git archive workaround (!)
  • tests :)
  • anything which you may find useful ;)