
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Kubernetes App Deploy Tool: build docker image, compile Kubernetes YAML files, and apply them.
Please watch/star this repo to help grow and support the project.
Official Docs Site: kubes.guru
Kubes will:
kubectl apply
on the compiled Kubernetes YAML fileskubes init # creates .kubes structure
# edit the .kubes/resources files to your needs
kubes deploy
Kubes is pretty straightforward. Kubes first builds the Docker image and compiles Kubernetes YAML files. Then it merely calls kubectl
.
In fact, you can use Kubes to build the files first, and then run kubectl
directly. Example:
kubes docker build
kubes docker push
kubes compile # compiles the .kubes/resources files to .kubes/output
Now, use kubectl
directly in the proper order:
kubectl apply -f .kubes/output/shared/namespace.yaml
kubectl apply -f .kubes/output/web/service.yaml
kubectl apply -f .kubes/output/web/deployment.yaml
You can also apply with kubes. This will automatically compile the files also.
kubes apply
The deploy command, does all 3 steps: builds the docker image, compiles the .kubes/resources
files, and runs kubectl apply.
kubes deploy
You can easily create multiple environments with the same YAML configs. Example:
KUBES_ENV=dev kubes deploy
KUBES_ENV=prod kubes deploy
See: Multiple Enviroments Pattern
Your time is precious. Why are we copying and pasting boilerplate structure in this day and age?
Kubes provides generators to help you get going right away.
Resources examples:
$ kubes new resource secret
create .kubes/resources/shared/secret.yaml
$ kubes new resource service_account
create .kubes/resources/shared/service_account.yaml
Kubes components examples:
$ kubes new helper
create .kubes/helpers/custom_helper.rb
$ kubes new variable
create .kubes/variables/dev.rb
$
.kubes/resources
folder.kubectl delete
in the correct reverse order. The order is also customizable.Install with:
gem install kubes
Here are some useful comparisons to help you compare Kubes vs other tools in the ecosystem:
For more info: kubes.guru
FAQs
Unknown package
We found that kubes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.