cookbook 'kubectl', '~> 0.1.2'
kubectl (2) Versions 0.1.2 Follow0
Installs/Configures kubectl
cookbook 'kubectl', '~> 0.1.2', :supermarket
knife supermarket install kubectl
knife supermarket download kubectl
kubectl
Installs the kubectl tool.
Attributes
All of the following attributes are under the node[:kubectl]
key. For example:
node['kubectl']['version']
-
version
- Can be eitherlatest
or a version like1.8.0
. Defaults tolatest
-
download_base_url
- Base URL from which to download the release. -
install_prefix
- Directory in which to install the binary. Defaults to/usr/local/bin
on UNIX-like systems, andC:\Program Files
on Microsoft Windows.
Recipes
All recipes assume the default recipe has been applied.
Default
Install kubectl
at the version
and install_prefix
specified. If there is already a kubectl
binary located at the install_prefix
, then the version is checked. If the version of the installed kubectl
matches the desired version, then nothing is done. Any other version is replaced with the requested version of kubectl. This means that a more recent version of kubectl
can be replaced by an older one.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 passed this metric
Foodcritic Metric
0.1.2 passed this metric
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 passed this metric
Version Tag Metric
0.1.2 passed this metric
0.1.2 failed this metric
0.1.2 passed this metric
Foodcritic Metric
0.1.2 passed this metric
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 passed this metric
Version Tag Metric
0.1.2 passed this metric
0.1.2 passed this metric
0.1.2 passed this metric
Testing File Metric
0.1.2 passed this metric
Version Tag Metric
0.1.2 passed this metric
0.1.2 passed this metric
0.1.2 passed this metric