Skip to content

Commit

Permalink
adding LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandorubbo committed Jan 2, 2020
1 parent a312d39 commit 48d060c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 6 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Fernando Rubbo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 24 additions & 6 deletions snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Plugin
metadata:
name: snapshot
spec:
version: "v0.1.0"
version: "v0.1.1"
platforms:

- selector:
Expand All @@ -15,6 +15,8 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-linux-amd64"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-linux-amd64"
- selector:
matchLabels:
Expand All @@ -25,6 +27,8 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-linux-386"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-linux-386"

- selector:
Expand All @@ -36,6 +40,8 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-darwin-amd64"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-darwin-amd64"
- selector:
matchLabels:
Expand All @@ -46,6 +52,8 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-darwin-386"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-darwin-386"

- selector:
Expand All @@ -57,6 +65,8 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-windows-amd64.exe"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-windows-amd64.exe"
- selector:
matchLabels:
Expand All @@ -67,18 +77,26 @@ spec:
files:
- from: "kubectl-snapshot-*/bin/kubectl-snapshot-windows-386.exe"
to: "."
- from: "kubectl-snapshot-*/LICENSE"
to: "."
bin: "./kubectl-snapshot-windows-386.exe"

shortDescription: >-
Takes a snapshot of your cluster and print it in either standard io or csv files
Prints a snapshot of nodes, pods and HPAs resource usage
homepage: https://github.com/fbrubbo/kubectl-snapshot
caveats: |
This plugin a snapshot of pods, hpas, deployments without hpas and
nodes.
description: |
This plugin takes a snapshot of resources (ie. cpu and memory) usage for
pods, HPAs, deployments without HPA and nodes. Other best configuration
practices, such as Pod Disruption Budget, probes and etc are also included.
This is specialy useful to understand, at scale, what you have configured
in your cluster.
Usage:
kubectl snapshot
kubectl snapshot -csv-output <NAME>
Other fine tunning are allowed, to understand more type:
kubectl snapshot -h
kubectl snapshot -h
caveats: |
Find more details in the documentation:
https://github.com/fbrubbo/kubectl-snapshot

0 comments on commit 48d060c

Please sign in to comment.